WebPagetest Forums

Full Version: Compression/gzip
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I have ran the test on my clients site (http://www.bakersbeans.ca)
Why does it say there is no compression when I have gzip enabled on the server?

Thanks
Sharing your test result so others can see as well: http://www.webpagetest.org/result/120611_QM_1447/

I tested in Chrome as well just to be sure that it wasn't an IE-specific rule problem but it doesn't look like resources are being compressed for Chrome either.

How do you have gzip enabled? You need mod_deflate installed but you also need a block in your config that tells it what mime types to apply compression to (like this):

Code:
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain    
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE text/xml    
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/json
</IfModule>

Thanks,

-Pat
Thanks, I will take a look at that with the host.

Really appreciate your help!
Reference URL's