Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 40503 invoked by uid 500); 18 Aug 2002 13:01:35 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 40492 invoked by uid 500); 18 Aug 2002 13:01:34 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 18 Aug 2002 13:01:34 -0000 Message-ID: <20020818130134.83238.qmail@icarus.apache.org> From: erikabele@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/docs/manual/mod mod_deflate.xml mod_deflate.html.en X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N erikabele 2002/08/18 06:01:34 Modified: docs/manual/mod mod_deflate.xml mod_deflate.html.en Log: Fixed some XML-issues. Submitted by: David Shane Holden Additionally added 'virtual host' to context-details. Revision Changes Path 1.8 +14 -12 httpd-2.0/docs/manual/mod/mod_deflate.xml Index: mod_deflate.xml =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_deflate.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- mod_deflate.xml 7 Aug 2002 15:26:17 -0000 1.7 +++ mod_deflate.xml 18 Aug 2002 13:01:34 -0000 1.8 @@ -22,16 +22,14 @@
Enabling Compression

Compression is implemented by the DEFLATE - filter. The following directive + 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 +

Most popular browsers can not handle compression of all content so you may want to set the 'gzip-only-text/html' note to 1 to only - allow html files to be compressed (see below)

-

if you set this to anything but '1' it will be ignored, so you can do - negative matches

-
+ allow html files to be compressed (see below).

+

If you set this to anything but '1' it will be ignored, so you can do + negative matches.

SetEnv gzip-only-text/html 1
SetOutputFilter DEFLATE @@ -52,12 +50,13 @@ DeflateFilterNote Places the compression ratio in a note for logging DeflateFilterNote notename -server config +server configvirtual host +

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 + to the request. The name of the note is the value specified for the directive.

@@ -67,7 +66,8 @@ Fragment size to be compressed at one time by zlib DeflateBufferSize value DeflateBufferSize 8096 -server config +server configvirtual host +

The DeflateBufferSize directive specifies @@ -81,7 +81,8 @@ Zlib compression window size DeflateWindowSize value DeflateWindowSize 15 -server config +server configvirtual host +

The DeflateWindowSize directive specifies the @@ -94,7 +95,8 @@ How much memory should be used by zlib for compression DeflateMemLevel value DeflateMemLevel 9 -server config +server configvirtual host +

The DeflateMemLevel directive specifies 1.8 +10 -12 httpd-2.0/docs/manual/mod/mod_deflate.html.en Index: mod_deflate.html.en =================================================================== RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_deflate.html.en,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- mod_deflate.html.en 14 Aug 2002 18:56:00 -0000 1.7 +++ mod_deflate.html.en 18 Aug 2002 13:01:34 -0000 1.8 @@ -14,16 +14,14 @@

Directives

See also

Enabling Compression

Compression is implemented by the DEFLATE - filter. The following directive + 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 +

Most popular browsers can not handle compression of all content so you may want to set the 'gzip-only-text/html' note to 1 to only - allow html files to be compressed (see below)

-

if you set this to anything but '1' it will be ignored, so you can do - negative matches

-
+ allow html files to be compressed (see below).

+

If you set this to anything but '1' it will be ignored, so you can do + negative matches.

SetEnv gzip-only-text/html 1
SetOutputFilter DEFLATE @@ -42,7 +40,7 @@
Fragment size to be compressed at one time by zlib
Syntax: DeflateBufferSize value
Default: DeflateBufferSize 8096
Context: - server config
Status: + server config, virtual host
Status: Extension
Module: mod_deflate

The DeflateBufferSize directive specifies @@ -51,18 +49,18 @@


DeflateFilterNote Directive

Description: Places the compression ratio in a note for logging
Syntax: DeflateFilterNote notename
Context: - server config
Status: + server config, virtual host
Status: Extension
Module: mod_deflate

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 + to the request. The name of the note is the value specified for the directive.


DeflateMemLevel Directive

Description: How much memory should be used by zlib for compression
Syntax: DeflateMemLevel value
Default: DeflateMemLevel 9
Context: - server config
Status: + server config, virtual host
Status: Extension
Module: mod_deflate

The DeflateMemLevel directive specifies @@ -72,7 +70,7 @@ Zlib compression window sizeSyntax: DeflateWindowSize valueDefault: DeflateWindowSize 15Context: - server configStatus: + server config, virtual hostStatus: ExtensionModule: mod_deflate

The DeflateWindowSize directive specifies the