From: Remi Tricot-Le Breton Date: Thu, 26 Nov 2020 14:51:29 +0000 (+0100) Subject: DOC: cache: Add new caching limitation information X-Git-Tag: v2.4-dev2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d493bc863d85182b663d4a8869ec805d74e712e8;p=thirdparty%2Fhaproxy.git DOC: cache: Add new caching limitation information Responses that do not have an explicit expiration time or a validator will not be cached anymore. Must be backported if cc9bf2e ("MEDIUM: cache: Change caching conditions") is backported. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index ee93b39693..ccc116e104 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -14300,6 +14300,9 @@ The cache won't store and won't deliver objects in these cases: - If the response contains a Vary header - If the Content-Length + the headers size is greater than "max-object-size" - If the response is not cacheable +- If the response does not have an explicit expiration time (s-maxage or max-age + Cache-Control directives or Expires header) or a validator (ETag or Last-Modified + headers) - If the request is not a GET - If the HTTP version of the request is smaller than 1.1