WebPagetest Forums
Compression/gzip - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Discuss Test Results (/forumdisplay.php?fid=4)
+--- Thread: Compression/gzip (/showthread.php?tid=11213)

Compression/gzip - thinkmedia - 06-12-2012 03:08 AM


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?


RE: Compression/gzip - pmeenan - 06-12-2012 03:23 AM

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):

<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



RE: Compression/gzip - thinkmedia - 06-13-2012 06:27 AM

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

Really appreciate your help!