From 5f8bea64884f306bf8da69fd8ae9760de54fcf7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=E9d=E9ric=20L=E9caille?= Date: Tue, 23 Oct 2018 10:09:19 +0200 Subject: [PATCH] DOC: Update about the cache support for big objects. --- doc/configuration.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index b4c67c6a6..4431e833d 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -17467,9 +17467,7 @@ 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 does not contain a Content-Length header or if the - Content-Length + the headers size is greater than a buffer size - the - reserve. +- If the Content-Length + the headers size is greater than "max-object-size" - If the response is not cacheable - If the request is not a GET @@ -17497,6 +17495,10 @@ total-max-size Define the size in RAM of the cache in megabytes. This size is split in blocks of 1kB which are used by the cache entries. +max-object-size + Define the maximum size of the objects to be cached. If not set, it equals + to a 256th of the cache size. + max-age Define the maximum expiration duration. The expiration is set has the lowest value between the s-maxage or max-age (in this order) directive in the