commit | dbb65b5a7a12ef637981f02150e26d821514870c | [log] [tgz] |
---|---|---|
author | Remi Tricot-Le Breton <rlebreton@haproxy.com> | Thu Oct 22 10:40:04 2020 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Oct 22 16:10:20 2020 +0200 |
tree | b99438a641529c10ec02a686cf83deaf376725e7 | |
parent | bcced09b91c510685b8bd6cb264a5d49c6fd472d [diff] |
MEDIUM: cache: Store the ETag information in the cache_entry When sent by a server for a given resource, the ETag header is stored in the coresponding cache entry (as any other header). So in order to perform future ETag comparisons (for subsequent conditional HTTP requests), we keep the length of the ETag and its offset relative to the start of the cache_entry. If no ETag header exists, the length and offset are zero.