]> granicus.if.org Git - apache/commitdiff
Clarify the documentation for mod_buffer to better explain where the
authorGraham Leggett <minfrin@apache.org>
Sun, 16 Nov 2008 19:32:13 +0000 (19:32 +0000)
committerGraham Leggett <minfrin@apache.org>
Sun, 16 Nov 2008 19:32:13 +0000 (19:32 +0000)
buffer might be useful, and that buffering is not guaranteed to improve
performance in all cases.

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

docs/manual/mod/mod_buffer.xml

index a4bc39ee0a028d6cf1559f0d110ec025d151813f..cd8aaf15593375828c435d1b78547d24743edb76 100644 (file)
         AddOutputFilterByType INCLUDES;BUFFER text/html<br />
       </example>
 
+    <note type="warning">The buffer filters read the request/response into
+        RAM and then repack the request/response into the fewest memory
+        buckets possible, at the cost of CPU time. When the request/response
+        is already efficiently packed, buffering the request/response could
+        cause the request/response to be slower than not using a buffer at
+        all. These filters should be used with care, and only where
+        necessary.</note>
+    
 </summary>
 <seealso><a href="../filter.html">Filters</a></seealso>