From: Remi Tricot-Le Breton Date: Thu, 26 Nov 2020 14:51:50 +0000 (+0100) Subject: DOC: cache: Add information about Vary support X-Git-Tag: v2.4-dev2~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f7308335e5209cc93dfdcea449d40dd21c03839;p=thirdparty%2Fhaproxy.git DOC: cache: Add information about Vary support We do not skip all responses containing a Vary in the cachign mechanism anymore. Under certain conditions such responses might be cached. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index ccc116e104..d075f5065b 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -14297,7 +14297,9 @@ replaced by "". The cache won't store and won't deliver objects in these cases: - If the response is not a 200 -- If the response contains a Vary header +- If the response contains a Vary header and either the process-vary option is + disabled, or a currently unmanaged header is specified in the Vary value (only + accept-encoding and referer are managed for now) - 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