]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: cache: Add information about Vary support
authorRemi Tricot-Le Breton <rlebreton@haproxy.com>
Thu, 26 Nov 2020 14:51:50 +0000 (15:51 +0100)
committerWilliam Lallemand <wlallemand@haproxy.org>
Thu, 26 Nov 2020 17:01:43 +0000 (18:01 +0100)
We do not skip all responses containing a Vary in the cachign mechanism
anymore. Under certain conditions such responses might be cached.

doc/configuration.txt

index ccc116e104a1a0f0705f29cb85e6ce8981b930b9..d075f5065b8664f49f452de3be060aa608c77904 100644 (file)
@@ -14297,7 +14297,9 @@ replaced by "<CACHE>".
 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