Re: entry->lastmod in absence of Last-Modified: header

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 20 Jul 1998 15:39:52 -0600

Arjan de Vet writes:

>Shouldn't a TCP_REFRESH_{MISS,HIT} should also update entry->lastmod and set
>it to e.g. served_date/squid_curtime? I tried coding it myself but the
>refresh code is not that simple.

This is a strange question. Probably the right thing to do
is NOT set lastmod to squid_curtime at all when we don't have a
Last-Modified reply header.

But the thing I'm trying to figure out is how you can get a
REFRESH_HIT from www.planet.nl since it doesn't seem to support
last-modified at all. Did you really get a 304 response from it?

Duane W.
Received on Tue Jul 29 2003 - 13:15:51 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:49 MST