diff options
author | André Malo <nd@apache.org> | 2012-04-27 21:06:57 +0200 |
---|---|---|
committer | André Malo <nd@apache.org> | 2012-04-27 21:06:57 +0200 |
commit | 03cc6f7d4e45e03e9aac99ecf742fbba8a7814dd (patch) | |
tree | 8ec120f1a2e07562c6bc374a0937152b3cae335c /docs/manual/mod/mod_deflate.html.en | |
parent | - style (diff) | |
download | apache2-03cc6f7d4e45e03e9aac99ecf742fbba8a7814dd.tar.xz apache2-03cc6f7d4e45e03e9aac99ecf742fbba8a7814dd.zip |
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331546 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_deflate.html.en')
-rw-r--r-- | docs/manual/mod/mod_deflate.html.en | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/docs/manual/mod/mod_deflate.html.en b/docs/manual/mod/mod_deflate.html.en index a76590e2f6..e3d128bbce 100644 --- a/docs/manual/mod/mod_deflate.html.en +++ b/docs/manual/mod/mod_deflate.html.en @@ -63,19 +63,16 @@ client</td></tr> <h2><a name="recommended" id="recommended">Sample Configurations</a></h2> <p>This is a simple sample configuration for the impatient.</p> - <div class="example"><h3>Compress only a few types</h3><p><code> - <pre class="prettyprint lang-config"> + <div class="example"><h3>Compress only a few types</h3><pre class="prettyprint lang-config"> AddOutputFilterByType DEFLATE text/html text/plain text/xml </pre> - - </code></p></div> +</div> <p>The following configuration, while resulting in more compressed content, is also much more complicated. Do not use this unless you fully understand all the configuration details.</p> - <div class="example"><h3>Compress everything except images</h3><p><code> - <pre class="prettyprint lang-config"> + <div class="example"><h3>Compress everything except images</h3><pre class="prettyprint lang-config"> <Location /> # Insert filter SetOutputFilter DEFLATE @@ -95,8 +92,7 @@ client</td></tr> Header append Vary User-Agent env=!dont-vary </Location> </pre> - - </code></p></div> +</div> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> @@ -247,12 +243,10 @@ BrowserMatch \bMSIE !no-gzip !gzip-only-text/html <code>Vary</code> header to the value <code>*</code>. This prevents compliant proxies from caching entirely.</p> - <div class="example"><h3>Example</h3><p><code> - <pre class="prettyprint lang-config"> + <div class="example"><h3>Example</h3><pre class="prettyprint lang-config"> Header set Vary * </pre> - - </code></p></div> +</div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="DeflateBufferSize" id="DeflateBufferSize">DeflateBufferSize</a> <a name="deflatebuffersize" id="deflatebuffersize">Directive</a></h2> @@ -303,15 +297,13 @@ BrowserMatch \bMSIE !no-gzip !gzip-only-text/html the directive. You can use that note for statistical purposes by adding the value to your <a href="../logs.html#accesslog">access log</a>.</p> - <div class="example"><h3>Example</h3><p><code> - <pre class="prettyprint lang-config"> + <div class="example"><h3>Example</h3><pre class="prettyprint lang-config"> DeflateFilterNote ratio LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate CustomLog logs/deflate_log deflate </pre> - - </code></p></div> +</div> <p>If you want to extract more accurate values from your logs, you can use the <var>type</var> argument to specify the type of data @@ -332,8 +324,7 @@ BrowserMatch \bMSIE !no-gzip !gzip-only-text/html <p>Thus you may log it this way:</p> - <div class="example"><h3>Accurate Logging</h3><p><code> - <pre class="prettyprint lang-config"> + <div class="example"><h3>Accurate Logging</h3><pre class="prettyprint lang-config"> DeflateFilterNote Input instream DeflateFilterNote Output outstream DeflateFilterNote Ratio ratio @@ -341,8 +332,7 @@ DeflateFilterNote Ratio ratio LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate CustomLog logs/deflate_log deflate </pre> - - </code></p></div> +</div> <h3>See also</h3> <ul> |