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

From: Arjan de Vet <Arjan.deVet@dont-contact.us>
Date: Tue, 21 Jul 1998 00:08:02 +0200 (CEST)

Duane Wessels:

>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.

How can we calculate the refresh factor in that case?

>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?

I never got a 304 response from it. The only result codes I can find in my
access.log are:

TCP_MISS/200
TCP_HIT/200
TCP_REFRESH_MISS/200
TCP_REFRESH_HIT/200
TCP_CLIENT_REFRESH_MISS/200

Arjan

-- 
Arjan de Vet, Eindhoven, The Netherlands              <Arjan.deVet@adv.iae.nl>
URL: http://www.iae.nl/users/devet/           for PGP key: finger devet@iae.nl
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