From 5aafb9bf92f48495a2832e69126676b9af8c03b9 Mon Sep 17 00:00:00 2001 From: Chuck Murcko Date: Sat, 12 Apr 1997 18:31:55 +0000 Subject: [PATCH] Added CacheDirLength and CacheDirLevels. Fixed link for CacheLastModifedFactor. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77874 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/directives.html | 4 +++- docs/manual/mod/mod_proxy.html | 33 +++++++++++++++++++++++++++++---- 2 files changed, 32 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/directives.html b/docs/manual/mod/directives.html index cf18af1a58..bf1ef6e6ea 100644 --- a/docs/manual/mod/directives.html +++ b/docs/manual/mod/directives.html @@ -47,8 +47,10 @@
  • BrowserMatch
  • BrowserMatchNoCase
  • CacheDefaultExpire +
  • CacheDirLength +
  • CacheDirLevels
  • CacheGcInterval -
  • CacheLastModified +
  • CacheLastModifiedFactor
  • CacheMaxExpire
  • CacheNegotiatedDocs
  • CacheRoot diff --git a/docs/manual/mod/mod_proxy.html b/docs/manual/mod/mod_proxy.html index 661b8a473e..52e389dce8 100644 --- a/docs/manual/mod/mod_proxy.html +++ b/docs/manual/mod/mod_proxy.html @@ -37,10 +37,12 @@ and other protocols.
  • ProxyBlock
  • CacheRoot
  • CacheSize -
  • CacheGcInterval
  • CacheMaxExpire -
  • CacheLastModifiedFactor
  • CacheDefaultExpire +
  • CacheLastModifiedFactor +
  • CacheGcInterval +
  • CacheDirLevels +
  • CacheDirLength
  • NoCache @@ -201,7 +203,7 @@ was supplied with the document. Apache 1.1 and later.

    If the origin HTTP server did not supply an expiry date for the -document, then estimate on using the formula +document, then estimate one using the formula

       expiry-period = time-since-last-modification * <factor>
     
    @@ -211,6 +213,29 @@ For example, if the document was last modified 10 hours ago, and

    If the expiry-period would be longer than that set by CacheMaxExpire, then the latter takes precedence. +

    CacheDirLevels

    +Syntax: CacheDirLevels <levels>
    +Default: CacheDirLevels 3
    +Context: server config
    +Status: Base
    +Module: mod_proxy
    +Compatibility: CacheDirLevels is only available in +Apache 1.1 and later.

    + +CacheDirLevels sets the number of levels of subdirectories in the cache. +Cached data will be saved this many directory levels below CacheRoot. + +

    CacheDirLength

    +Syntax: CacheDirLength <length>
    +Default: CacheDirLength 1
    +Context: server config
    +Status: Base
    +Module: mod_proxy
    +Compatibility: CacheDirLength is only available in +Apache 1.1 and later.

    + +CacheDirLength sets the number of characters in proxy cache subdirectory names. +

    CacheDefaultExpire

    Syntax: CacheDefaultExpire <time>
    Default: CacheDefaultExpire 1
    @@ -220,7 +245,7 @@ then the latter takes precedence. Compatibility: CacheDefaultExpire is only available in Apache 1.1 and later.

    -If the document is fetched via a protocol that does not support expirytimes, +If the document is fetched via a protocol that does not support expiry times, then use <time> hours as the expiry time. CacheMaxExpire does not override. -- 2.50.1