Skip to content

Apache Module http 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.