From 4f7308335e5209cc93dfdcea449d40dd21c03839 Mon Sep 17 00:00:00 2001 From: Remi Tricot-Le Breton Date: Thu, 26 Nov 2020 15:51:50 +0100 Subject: [PATCH] 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. --- doc/configuration.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index ccc116e..d075f50 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 -- 1.7.10.4