diff options
author | Luca Toscano <elukey@apache.org> | 2016-01-25 07:25:59 +0100 |
---|---|---|
committer | Luca Toscano <elukey@apache.org> | 2016-01-25 07:25:59 +0100 |
commit | da47b63de322e58bf680d2b1c22b2e04f0d94f84 (patch) | |
tree | df9812450e0d2421f2fdab7ed2d2b2ff91580bef /docs/manual/mod/mod_deflate.xml | |
parent | Documentation rebuild for r1726506 (diff) | |
download | apache2-da47b63de322e58bf680d2b1c22b2e04f0d94f84.tar.xz apache2-da47b63de322e58bf680d2b1c22b2e04f0d94f84.zip |
Added important info for the DeflateBufferSize directive (mod_deflate).
Bug: 33454
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1726574 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | docs/manual/mod/mod_deflate.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/manual/mod/mod_deflate.xml b/docs/manual/mod/mod_deflate.xml index a4a4c32d37..81a8782f6d 100644 --- a/docs/manual/mod/mod_deflate.xml +++ b/docs/manual/mod/mod_deflate.xml @@ -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> |