Apache Module http mod_deflate

How to use Apache Module mod_deflate to compress response output

Published: Thursday, 16 June 2011
apache http

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.

Installation

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

Documentation

Apache Module mod_deflate version 2.0 documentation.