Current time: 12-06-2019, 03:29 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compression/gzip
06-12-2012, 03:08 AM
Post: #1
Compression/gzip
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
Find all posts by this user
Quote this message in a reply
06-12-2012, 03:23 AM
Post: #2
RE: Compression/gzip
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
Visit this user's website Find all posts by this user
Quote this message in a reply
06-13-2012, 06:27 AM
Post: #3
RE: Compression/gzip
Thanks, I will take a look at that with the host.

Really appreciate your help!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)