You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Octavian Rasnita <or...@fcc.ro> on 2005/06/30 12:52:59 UTC

[users@httpd] deflate vs gzip

Hi,

Which is the recommended way of sending the compressed data? Deflate, or
gzip?

It is prefered the one which is faster and that compress better.

Now I am compressing the dynamic pages using the perl module Compress::Zlib
(using gzip). Would it be a better idea to use Apache's modules for
compression?

Thank you.

Teddy



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


Re: [users@httpd] deflate vs gzip

Posted by Nick Kew <ni...@webthing.com>.
Octavian Rasnita wrote:

 Would it be a better idea to use Apache's modules for
> compression?

Probably.  Perl Compress::Zlib is generic, whereas mod_deflate
(which does gzip, despite the name) is web-aware.  If you use the
perl, then you have to worry about dealing with HTTP yourself,
including negotiating with browsers and setting response headers.

-- 
Nick Kew

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