Current time: 06-07-2020, 01:56 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Avoid gzip on images with query string
02-14-2012, 11:12 PM
Post: #2
RE: Avoid gzip on images with query string
You shouldn't gzip images because they will actually end up larger - they are already compressed by algorithms at least as good as gzip.

I'm a little curious why you have gzip enabled on everything by default and then choose to disable it under certain circumstances. I'm used to seeing it enabled by mime type:

<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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Avoid gzip on images with query string - pmeenan - 02-14-2012 11:12 PM

Forum Jump:

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