0N/A<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 0N/A <
title>Apache module mod_deflate</
title>
0N/A <!-- Background white, links blue (unvisited), navy (visited), red (active) --> 0N/A <
body bgcolor="#FFFFFF" text="#000000" link="#0000FF" 0N/A vlink="#000080" alink="#FF0000">
0N/A <
h1 align="CENTER">Module mod_deflate</
h1>
0N/A <
p>This module provides the ability to compress content before
1472N/A it is delivered to the client.</
p>
0N/A rel="Help"><
strong>Status:</
strong></
a> Experimental<
br />
0N/A rel="Help"><
strong>Source File:</
strong></
a>
0N/A rel="Help"><
strong>Module Identifier:</
strong></
a>
0N/A deflate_module<
br />
0N/A rel="Help"><
strong>Compatibility:</
strong></
a> Available in
0N/A Apache 2.0 and later.</
p>
0N/A <
p>The experimental <
samp>mod_deflate</
samp> module allows
0N/A output from your server to be compressed before being sent
0N/A to the client over the network.</
p>
0N/A <
li><
a href="#DeflateFilterNote">DeflateFilterNote</
a></
li>
0N/A <
li><
a href="#DeflateWindowSize">DeflateWindowSize</
a></
li>
0N/A <
li><
a href="#DeflateMemLevel">DeflateMemLevel</
a></
li>
0N/A AddOutputFilter</
a> and <
a href="core.html#setoutputfilter">
0N/A <
h2>Enabling Compression</
h2>
0N/A <
p>Compression is implemented by the <
code>DEFLATE</
code>
0N/A will enable compression for documents in the container where it
0N/A <
code>SetOutputFilter DEFLATE</
code>
0N/A <
p>Here is an example of enabling compression for the Apache
SetOutputFilter DEFLATE</
code><
br />
<
em>leave the existing directives as-is</
em><
br />
<
code></Directory></
code>
<!-- the HR is part of the directive description --> <
h2><
a id="DeflateFilterNote" name="DeflateFilterNote">DeflateFilterNote
rel="Help"><
strong>Syntax:</
strong></
a> DeflateFilterNote <
em>notename
rel="Help"><
strong>Default:</
strong></
a> <
i>none</
i><
br />
rel="Help"><
strong>Context:</
strong></
a> server config<
br />
rel="Help"><
strong>Override:</
strong></
a> none<
br />
rel="Help"><
strong>Status:</
strong></
a> Experimental<
br />
rel="Help"><
strong>Module:</
strong></
a> mod_deflate<
br />
rel="Help"><
strong>Compatibility:</
strong></
a> Apache 2.0 and
<
p>The DeflateFilterNote directive specifies that a note about
compression ratios should be attached to the request. The name
of the note is the value specified for the directive.</
p>
<!-- the HR is part of the directive description --> <
h2><
a id="DeflateWindowSize" name="DeflateWindowSize">DeflateWindowSize directive</
a></
h2>
rel="Help"><
strong>Syntax:</
strong></
a> DeflateWindowSize
rel="Help"><
strong>Default:</
strong></
a> <
em>none</
em><
br />
rel="Help"><
strong>Context:</
strong></
a> server config<
br />
rel="Help"><
strong>Override:</
strong></
a> none<
br />
rel="Help"><
strong>Status:</
strong></
a> Experimental<
br />
rel="Help"><
strong>Module:</
strong></
a> mod_deflate<
br />
rel="Help"><
strong>Compatibility:</
strong></
a> Apache 2.0 and
<
p>The <
samp>DeflateWindowSize</
samp> directive specifies the
zlib compression window size.</
p>
<!-- the HR is part of the directive description --> <
h2><
a id="DeflateMemLevel" name="DeflateMemLevel">DeflateMemLevel
rel="Help"><
strong>Syntax:</
strong></
a> DeflateMemLevel
rel="Help"><
strong>Default:</
strong></
a> <
em>none</
em><
br />
rel="Help"><
strong>Context:</
strong></
a> server config<
br />
rel="Help"><
strong>Override:</
strong></
a> none<
br />
rel="Help"><
strong>Status:</
strong></
a> Experimental<
br />
rel="Help"><
strong>Module:</
strong></
a> mod_deflate<
br />
rel="Help"><
strong>Compatibility:</
strong></
a> Apache 2.0 and
<
p>The DeflateMemLevel directive specifies the amount of
memory available to zlib for compression.</
p>