httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Mod_deflate : how does it handle already compressed content ?
Date Mon, 02 Oct 2006 21:17:09 GMT
On Monday 02 October 2006 22:08, ABAPGUY wrote:
> Hi all,
> we use mod_deflate in our Apache 2 Reverse Proxy . The downstream server
> already compresses some content using gzip based on size/exclusion list
> (e.g. no gifs , html > xKB) . We have mod_deflate set up with similar
> settings  . I'm guessing mod_deflate will not touch the already compressed
> content before it sends it to a user's browser ? Or does it try to compress
> already compressed content ?

It looks at the Content-Encoding header, and won't compress anything that's
already compressed.

If it's compressed by some method that isn't declared in HTTP, then 
mod_deflate won't know about it, and will try to compress it, unless you
find other means to tell it not to compress.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.prenhallprofessional.com/title/0132409674

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message