[squid-dev] [PATCH] Older response must not update
Eduard Bagdasaryan
eduard.bagdasaryan at measurement-factory.com
Wed Aug 24 12:46:35 UTC 2016
Hello,
This patch teaches Squid to ignore a [revalidation] response with an older
Date header.
Before this patch, Squid violated the RFC 7234 section 4 MUST
requirement: "When more than one suitable response is stored, a cache
MUST use the most recent response (as determined by the Date header
field)." This problem may be damaging in cache hierarchies where
parent caches may have different responses. Trusting the older response
may lead to excessive IMS requests, cache thrashing and other problems.
Regards,
Eduard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SQUID-174-older-response-must-not-update-t5.patch
Type: text/x-patch
Size: 24267 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20160824/f020a3a3/attachment.bin>
More information about the squid-dev
mailing list