You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/02/15 11:36:44 UTC

svn commit: r1853637 - /httpd/httpd/trunk/docs/manual/mod/mod_deflate.xml

Author: jailletc36
Date: Fri Feb 15 11:36:44 2019
New Revision: 1853637

URL: http://svn.apache.org/viewvc?rev=1853637&view=rev
Log:
Add directive name, so that quickreference.xsl can extract default value correctly.

Always align on the left code in <highlight> block in order to be consistent and fix a layout issue.

Add some links between directives.

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_deflate.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_deflate.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_deflate.xml?rev=1853637&r1=1853636&r2=1853637&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_deflate.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_deflate.xml Fri Feb 15 11:36:44 2019
@@ -55,8 +55,8 @@ client</description>
 
     <example><title>Compress only a few types</title>
     <highlight language="config">
-      AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
-      </highlight>
+AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
+    </highlight>
     </example>
 
 </section>
@@ -171,7 +171,7 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?
     filter depends on the <code>User-Agent</code>, you should add:</p>
 
     <highlight language="config">
-      Header append Vary User-Agent
+Header append Vary User-Agent
     </highlight>
 
     <p>If your decision about compression depends on other information
@@ -181,8 +181,8 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?
 
     <example><title>Example</title>
     <highlight language="config">
-      Header set Vary *
-      </highlight>
+Header set Vary *
+    </highlight>
     </example>
 </section>
 
@@ -238,11 +238,11 @@ content</title>
 
     <example><title>Example</title>
     <highlight language="config">
-      DeflateFilterNote ratio
+DeflateFilterNote ratio
 
-      LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate
-      CustomLog "logs/deflate_log" deflate
-      </highlight>
+LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate
+CustomLog "logs/deflate_log" deflate
+    </highlight>
     </example>
 
     <p>If you want to extract more accurate values from your logs, you
@@ -400,7 +400,7 @@ CustomLog "logs/deflate_log" deflate
 <name>DeflateInflateRatioLimit</name>
 <description>Maximum inflation ratio for request bodies</description>
 <syntax>DeflateInflateRatioLimit <var>value</var></syntax>
-<default>200</default>
+<default>DeflateInflateRatioLimit 200</default>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context></contextlist>
 <override>All</override>
@@ -411,8 +411,8 @@ CustomLog "logs/deflate_log" deflate
         specifies the maximum ratio of deflated to inflated size of an
         inflated request body. This ratio is checked as the body is
         streamed in, and if crossed more than
-        <directive>DeflateInflateRatioBurst</directive> times, the request
-        will be terminated.</p>
+        <directive module="mod_deflate">DeflateInflateRatioBurst</directive>
+        times, the request will be terminated.</p>
 </usage>
 </directivesynopsis>
 
@@ -421,7 +421,7 @@ CustomLog "logs/deflate_log" deflate
 <description>Maximum number of times the inflation ratio for request bodies
              can be crossed</description>
 <syntax>DeflateInflateRatioBurst <var>value</var></syntax>
-<default>3</default>
+<default>DeflateInflateRatioBurst 3</default>
 <contextlist><context>server config</context><context>virtual host</context>
 <context>directory</context><context>.htaccess</context></contextlist>
 <override>All</override>
@@ -430,8 +430,8 @@ CustomLog "logs/deflate_log" deflate
 <usage>
     <p>The <directive>DeflateInflateRatioBurst</directive> directive
        specifies the maximum number of times the
-       <directive>DeflateInflateRatioLimit</directive> can be crossed before
-       terminating the request.</p>
+       <directive module="mod_deflate">DeflateInflateRatioLimit</directive> can
+       be crossed before terminating the request.</p>
 </usage>
 </directivesynopsis>