From: amosjeffries <> Date: Wed, 6 Feb 2008 13:54:40 +0000 (+0000) Subject: Alter caching policy for Dynamic Objects. X-Git-Tag: SQUID_3_0_STABLE2~67 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd2494619bf1eae4331172c0f4cf7be5668582ac;p=thirdparty%2Fsquid.git Alter caching policy for Dynamic Objects. - Alters squid caching policy for dynamically generated objects to allow caching when objects have Cache-Control headers. - Default policy now follows RFC 2616 section 13.9 exactly as stated. see http://www.mail-archive.com/squid-dev@squid-cache.org/msg06963.html --- diff --git a/src/cf.data.pre b/src/cf.data.pre index 57321ca252..9346fc6137 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -1,6 +1,6 @@ # -# $Id: cf.data.pre,v 1.488.2.1 2008/01/20 11:01:11 amosjeffries Exp $ +# $Id: cf.data.pre,v 1.488.2.2 2008/02/06 06:54:40 amosjeffries Exp $ # # SQUID Web Proxy Cache http://www.squid-cache.org/ # ---------------------------------------------------------- @@ -2451,19 +2451,14 @@ TYPE: acl_access DEFAULT: none LOC: Config.accessList.noCache DOC_START - A list of ACL elements which, if matched, cause the request to + A list of ACL elements which, if matched and denied, cause the request to not be satisfied from the cache and the reply to not be cached. In other words, use this to force certain objects to never be cached. - You must use the word 'DENY' to indicate the ACL names which should - NOT be cached. + You must use the words 'allow' or 'deny' to indicate whether items + matching the ACL should be allowed or denied into the cache. Default is to allow all to be cached -NOCOMMENT_START -#We recommend you to use the following two lines. -acl QUERY urlpath_regex cgi-bin \? -cache deny QUERY -NOCOMMENT_END DOC_END NAME: refresh_pattern @@ -2564,6 +2559,7 @@ Suggested default: NOCOMMENT_START refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 +refresh_pattern (cgi-bin|\?) 0 0% 0 refresh_pattern . 0 20% 4320 NOCOMMENT_END DOC_END