httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] mod_deflate question
Date Tue, 17 Jan 2006 21:48:46 GMT
Axel-St├ęphane SMORGRAV wrote:
> It actually seems like the size of the contents is increased by mod_deflate... 
> but yes, it is definitely processed by mod_deflate. The reason why the compressed 
> content is bigger than the input probably is that the amount of data is so small.

True; the deflate algorithm adds some formatting bytes, the http response header
grows as well.

> Regarding the compression level, be aware that you may end up spending a lot more 
> CPU cycles achieving very little compression in comparison to what a lower lower 
> compression level would have given you. Thus this may hurt overall performance. 
> Compression really pays off when the bandwidth is limited. However, the more bandwidth

> is available, the less you gain in compressing.

But also bear in mind that if you are running mod_cache locally on the server to
set aside the results of the first compression, then running with the maximum
deflate compression algorithm really won't have a measurable effect on overall
CPU usage.


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