Compressed httpd data

Enabling zlib compression makes a huge difference to a http server. I stress tested this server using Apache Bench. Before compression was enabled I managed just over 1-2 requests of (large) pages per second, but with compression that rose to 10 requests per second! Just add this to a .htaccess file if you’re using PHP 4.

php_flag zlib.output_compression On

Update – Enabling compression that way here causes too many problems. I’ll have to try and convince Colm to install mod_gzip which works everywhere else I’ve used it.

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close