Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to speed up your site


  • charlietech
    Participant

    @charlietech

    In Yslow, I have an F in fewer request and compress gzip. When I click on the compress gzip, I have 27 plain text(css js) that need to be compress. I have use these
    and still have an F in my gzip: What else do i need to do? which one should i use?

    # BEGIN GZIP

    AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript

    # END GZIP

    # compress text, html, javascript, css, xml:
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript

    # Or, compress certain file types by extension:

    SetOutputFilter DEFLATE

    SetOutputFilter DEFLATE

  • The topic ‘How to speed up your site’ is closed to new replies.
Skip to toolbar