From: Jarno Huuskonen Date: Fri, 4 Jan 2019 12:05:02 +0000 (+0200) Subject: DOC: http-request cache-use / http-response cache-store expects cache name X-Git-Tag: v2.0-dev1~237 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=251a6b72a8b6f0a4b167f6a2960e422d682aed80;p=thirdparty%2Fhaproxy.git DOC: http-request cache-use / http-response cache-store expects cache name Adds missing cache name option to http-request cache-use and http-response cache-store documentation. Also adds optional if/unless condition to 10.2.2. Proxy section: http-request cache-use / http-response cache-store --- diff --git a/doc/configuration.txt b/doc/configuration.txt index abce3d7c15..2447254c48 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -4109,7 +4109,7 @@ http-request auth [realm ] [ { if | unless } ] acl auth_ok http_auth_group(L1) G1 http-request auth unless auth_ok -http-request cache-use [ { if | unless } ] +http-request cache-use [ { if | unless } ] See section 10.2 about cache setup. @@ -4658,7 +4658,7 @@ http-response allow [ { if | unless } ] This stops the evaluation of the rules and lets the response pass the check. No further "http-response" rules are evaluated for the current section. -http-response cache-store [ { if | unless } ] +http-response cache-store [ { if | unless } ] See section 10.2 about cache setup. @@ -17884,13 +17884,13 @@ max-age 10.2.2. Proxy section --------------------- -http-request cache-use +http-request cache-use [ { if | unless } ] Try to deliver a cached object from the cache . This directive is also mandatory to store the cache as it calculates the cache hash. If you want to use a condition for both storage and delivering that's a good idea to put it after this one. -http-response cache-store +http-response cache-store [ { if | unless } ] Store an http-response within the cache. The storage of the response headers is done at this step, which means you can use others http-response actions to modify headers before or after the storage of the response. This action