[squid-dev] [PATCH] Revalidate without Last-Modified

Eduard Bagdasaryan eduard.bagdasaryan at measurement-factory.com
Tue Aug 30 10:35:19 UTC 2016

2016-08-28 1:12 GMT+03:00 Alex Rousskov <rousskov at measurement-factory.com>:

 > I worry about the message recipient comparing received
 > effective LMT with the actual (absent!) LMT of the object they have in
 > the cache and then deciding that the resource has changed (and their
 > cached copy is now stale) because the resource now has LMT and it did
 > not have it before.
 > Not all HTCP clients are Squids, but how does Squid code treat such an
 > HTCP TST response? In other words, will Squid itself make a different
 > decision if it receives an effective LMT header value instead of no LMT
 > header field at all? Does your own patch affect the receiving Squid
 > behavior?

It seems that Squid does not care whether HTCP response contains LMT or
not. Moreover, it looks that all TST response headers are only parsed
inside htcpHandleTstResponse() without using them further for making
any decisions (probably they just intended to detect parse errors?).
Thus I see no problems for Squid as HTCP client when receiving effective
LMT in HTCP responses.


More information about the squid-dev mailing list