]> granicus.if.org Git - apache/commit
Added optional support for caching streamed responses in mod_cache.
authorBrian Pane <brianp@apache.org>
Wed, 4 Sep 2002 09:07:25 +0000 (09:07 +0000)
committerBrian Pane <brianp@apache.org>
Wed, 4 Sep 2002 09:07:25 +0000 (09:07 +0000)
commit6f34fa907cb06353a55700cf2b24e82474fb1668
tree72d9b33c70501c8c389607e3ababe9663b6c5a7f
parentfb159ea6180a9ce3246f9d9107272bd1e0f8c7ab
Added optional support for caching streamed responses in mod_cache.
Notes:
  * I've created a new config directive CacheMaxStreamingBuffer,
    to set the maximum amount of data that mod_cache will buffer
    per request if it hasn't yet seen an EOS.  The default is
    zero, which preserves the original behavior: cache only if
    the response has a known content-length or all the content
    is available in the first brigade passed to the CACHE_IN filter.
  * A big block of code in cache_in_filter() got wrapped in an
    if-statement in this change.  To make the diff more readable,
    I'm committing without indentation changes; a second commit
    will include (only) the indentation update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96631 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/experimental/mod_cache.c
modules/experimental/mod_cache.h