Apache Module http mod_deflate

How to use Apache Module mod_deflate to compress response output

Published: Thursday, 16 June 2011

Reasons for using mod_deflate

The mod_deflate module can be used to compress output from your webserver. This will reduce network traffic and save on bandwidth costs.


mod_deflate is usually already installed, and can be enabled via configuration.

LoadModule deflate_module modules/mod_deflate.so

AddOutputFilterByType DEFLATE text/html text/plain text/xml


Apache Module mod_deflate version 2.0 documentation.