]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Added important info for the DeflateBufferSize directive (mod_deflate).
authorLuca Toscano <elukey@apache.org>
Mon, 25 Jan 2016 06:25:59 +0000 (06:25 +0000)
committerLuca Toscano <elukey@apache.org>
Mon, 25 Jan 2016 06:25:59 +0000 (06:25 +0000)
Bug: 33454

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1726574 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_deflate.xml

index a4a4c32d37686acd5fa9ffc491ab63bf47a753d4..81a8782f6db914a338993d132ff5aa3431373f74 100644 (file)
@@ -296,7 +296,14 @@ CustomLog "logs/deflate_log" deflate
 <usage>
     <p>The <directive>DeflateBufferSize</directive> directive specifies
     the size in bytes of the fragments that zlib should compress at one
-    time.</p>
+    time. If the compressed response size is bigger than the one specified
+    by this directive then httpd will switch to chunked encoding 
+    (HTTP header <code>Transfer-Encoding</code> set to <code>Chunked</code>), with the
+    side effect of not setting any <code>Content-Length</code> HTTP header. This is particularly 
+    important when httpd works behind reverse caching proxies like Varnish or when httpd is configured with 
+    <module>mod_cache</module> and <module>mod_cache_disk</module> because
+    HTTP responses without any <code>Content-Length</code> header might not be cached.
+  </p>
 </usage>
 </directivesynopsis>