]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: cache: Missing information about "total-max-size" and "max-object-size"
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 25 Oct 2018 08:46:40 +0000 (10:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Oct 2018 02:54:41 +0000 (04:54 +0200)
doc/configuration.txt

index 4431e833d94362a014ef6192be2c2a05487cb5c0..95b0b977cb284dbd30af63346dee474adee73e98 100644 (file)
@@ -17493,11 +17493,12 @@ cache <name>
 
 total-max-size <megabytes>
   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. Its maximum value is 4095.
 
 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.
+  Define the maximum size of the objects to be cached. Must not be greater than
+  an half of "total-max-size". If not set, it equals to a 256th of the cache size.
+  All objects with sizes larger than "max-object-size" will not be cached.
 
 max-age <seconds>
   Define the maximum expiration duration. The expiration is set has the lowest