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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx