From: Amos Jeffries Date: Thu, 17 Jul 2014 01:48:19 +0000 (-0600) Subject: Bug 4085: cache_miss_revalidate / ignore_ims_on_miss docs confusing X-Git-Tag: SQUID_3_5_0_1~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d4eefd98255c36d75087b224758ea5a99c729ed;p=thirdparty%2Fsquid.git Bug 4085: cache_miss_revalidate / ignore_ims_on_miss docs confusing --- diff --git a/src/cf.data.pre b/src/cf.data.pre index 317cf453ac..11603383ef 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -173,7 +173,7 @@ DOC_END NAME: ignore_ims_on_miss TYPE: obsolete DOC_START - Remove this line. The HTTP/1.1 feature is now fully supported by default. + Remove this line. The HTTP/1.1 feature is now configured by 'cache_miss_revalidate'. DOC_END # Options Removed in 3.2 @@ -5163,7 +5163,7 @@ DOC_START downloads. When the user aborts a request, Squid will check the - quick_abort values to the amount of data transfered until + quick_abort values to the amount of data transferred until then. If the transfer has less than 'quick_abort_min' KB remaining, @@ -7510,17 +7510,25 @@ TYPE: onoff DEFAULT: on LOC: Config.onoff.cache_miss_revalidate DOC_START - Whether Squid on cache MISS will pass client revalidation requests - to the server or tries to fetch new content for caching. - This is useful while the cache is mostly empty to more quickly - have the cache populated. + RFC 7232 defines a conditional request mechanism to prevent + response objects being unnecessarily transferred over the network. + If that mechanism is used by the client and a cache MISS occurs + it can prevent new cache entries being created. + + This option determines whether Squid on cache MISS will pass the + client revalidation request to the server or tries to fetch new + content for caching. It can be useful while the cache is mostly + empty to more quickly have the cache populated by generating + non-conditional GETs. When set to 'on' (default), Squid will pass all client If-* headers - to the server. + to the server. This permits server responses without a cacheable + payload to be delivered and on MISS no new cache entry is created. When set to 'off' and if the request is cacheable, Squid will remove the clients If-Modified-Since and If-None-Match headers from - the request sent to the server. + the request sent to the server. This requests a 200 status response + from the server to create a new cache entry with. DOC_END NAME: always_direct