From: Joshua Slive Date: Mon, 4 Mar 2002 21:10:36 +0000 (+0000) Subject: Convert mod_deflate. X-Git-Tag: 2.0.33~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eb4201b15cd20f9deb18504f0cda4d2cf9f1d4b;p=apache Convert mod_deflate. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93703 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_deflate.xml b/docs/manual/mod/mod_deflate.xml new file mode 100644 index 0000000000..44b5efda36 --- /dev/null +++ b/docs/manual/mod/mod_deflate.xml @@ -0,0 +1,88 @@ + + ]> + + + +mod_deflate +Compress content before + it is delivered to the client +experimental +mod_deflate.c +deflate_module + + +

The experimental mod_deflate module provides + the DEFLATE output filter that allows output from + your server to be compressed before being sent to the client over + the network.

+
+AddOutputFilter +SetOutputFilter + +
Enabling Compression + +

Compression is implemented by the DEFLATE + filter. The following directive + will enable compression for documents in the container where it + is placed:

+

Most popular browsers can not handle compression of all content + so you may want to enable the 'gzip-only-text/html' note (see below) +

+ +SetEnv gzip-only-text/html 1
+SetOutputFilter DEFLATE +
+ +

Here is an example of enabling compression for the Apache + documentation:

+ + +<Directory "/your-server-root/manual">
+ SetEnv gzip-only-text/html 1
+ SetOutputFilter DEFLATE
+</Directory> +
+
+ + +DeflateFilterNote +Places the compression ratio in a note for logging +DeflateFilterNote notename +server config + + +

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.

+
+
+ + +DeflateWindowSize +Zlib compression window size +DeflateWindowSize value +server config + + + +

The DeflateWindowSize directive specifies the + zlib compression window size.

+
+
+ + +DeflateMemLevel +Amount of memory available to zlib for compression +DeflateMemLevel value +server config + + + +

The DeflateMemLevel directive specifies + the amount of memory available to zlib for compression.

+
+
+ +
+