From: Martin Kraemer Date: Thu, 9 Jul 1998 19:45:40 +0000 (+0000) Subject: cache in the event that the client cancels the transfer, provided that X-Git-Tag: 1.3.1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3a2a7309e959e2c9065352de73564f14d76d044;p=apache cache in the event that the client cancels the transfer, provided that the configured percentage of the file has already been transfered. It works for http transfers only. The new httpd.conf directive is: CacheForceCompletion PR: 2277 Submitted by: Glen Parker Reviewed by: Martin Kraemer, Brian Behlendorf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@81685 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index a5a19944c5..bdb0a48b25 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -71,6 +71,7 @@ of the terms used in their descriptions available.
  • CacheDefaultExpire
  • CacheDirLength
  • CacheDirLevels +
  • CacheForceCompletion
  • CacheGcInterval
  • CacheLastModifiedFactor
  • CacheMaxExpire diff --git a/docs/manual/mod/mod_proxy.html b/docs/manual/mod/mod_proxy.html index b2de7fe5ca..a7fa9f08e0 100644 --- a/docs/manual/mod/mod_proxy.html +++ b/docs/manual/mod/mod_proxy.html @@ -56,6 +56,7 @@ and other protocols.
  • CacheGcInterval
  • CacheDirLevels
  • CacheDirLength +
  • CacheForceCompletion
  • NoCache @@ -551,6 +552,47 @@ Example:
    +

    CacheForceCompletion

    +Syntax: CacheForceCompletion
    +Default: 90
    +Context: server config, virtual host
    +Override: Not applicable
    +Status: Base
    +Module: mod_proxy
    +Compatibility: CacheForceCompletion is only available in +Apache 1.3 and later.

    + +If an http transfer that is being cached is cancelled, the proxy module will +complete the transfer to cache if more than the percentage specified has +already been transferred.

    + +This is a percentage, and must be a number between 1 and 100, or 0 to use +the default. 100 will cause a document to be cached only if the transfer +was allowed to complete. A number between 60 and 90 is recommended. + +


    +

    CacheRoot