DOC: Update about the cache support for big objects.

This commit is contained in:
Frdric Lcaille 2018-10-23 10:09:19 +02:00 committed by Willy Tarreau
parent a2219f5e3b
commit 5f8bea6488

View File

@ -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 is not a 200
- If the response contains a Vary header - If the response contains a Vary header
- If the response does not contain a Content-Length header or if the - If the Content-Length + the headers size is greater than "max-object-size"
Content-Length + the headers size is greater than a buffer size - the
reserve.
- If the response is not cacheable - If the response is not cacheable
- If the request is not a GET - If the request is not a GET
@ -17497,6 +17495,10 @@ total-max-size <megabytes>
Define the size in RAM of the cache in megabytes. This size is split in 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. blocks of 1kB which are used by the cache entries.
max-object-size <bytes>
Define the maximum size of the objects to be cached. If not set, it equals
to a 256th of the cache size.
max-age <seconds> max-age <seconds>
Define the maximum expiration duration. The expiration is set has the lowest 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 value between the s-maxage or max-age (in this order) directive in the