Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Gzip not working?

bemotabemota New
edited February 2015 in Vanilla 2.0 - 2.8

I've pasted this https://github.com/h5bp/html5-boilerplate/blob/d7976c/dist/.htaccess#L663-L741 in my htaccess file but I don't think it is working:

Any ideas? Thanks.

EDIT: Nevermind, this problem is webhost specific.

Comments

  • Options
    jackmaessenjackmaessen ✭✭✭
    edited February 2015

    use this website to see if gzip is enabled: http://gtmetrix.com/
    After submit it is shown under the Recommendation

    If it is not enabled, try this in your .htaccess

    # 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
    
Sign In or Register to comment.