When adding mod_deflate config to apache, I'm finding that requests handled by file_wrapper get gzipped, even if they don't match the filter specification (e.g. images). Here's the config:
AddOutputFilterByType DEFLATE text/html text/plain text/css application/x-javascript Requests that are served directly by apache are correct: text is gzipped, images are not. But requests that hit file_wrapper are always gzipped, even if they are image/jpeg, or etc. The content-type returned to the user agent is correct, so I expect that I'm setting up the file_wrapper call correctly. Here's an example response header snip cut & paste from chrome webkit dev tools: Content-Encoding:gzip Content-Length:3080 Content-Type:image/jpeg -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
