commit | bf97121f1c860c6fd4b77f2f1b7d4a0322d629c2 | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Tue Oct 27 11:55:57 2020 +0100 |
committer | William Lallemand <wlallemand@haproxy.org> | Tue Oct 27 18:25:43 2020 +0100 |
tree | 9b1d48cebe7aebe93638113cbfc6d77d5fb12d31 | |
parent | 53161d81b87e7953840f8e2c7453d7fd12cb6d13 [diff] |
MINOR: cache: Create res.cache_hit and res.cache_name sample fetches Res.cache_hit sample fetch returns a boolean which is true when the HTTP response was built out of a cache. The cache's name is returned by the res.cache_name sample_fetch. This resolves GitHub issue #900.