Re: [squid-users] Initial squid impressions (and questions)

From: Denis Vlasenko <vda@dont-contact.us>
Date: Thu, 2 Jan 2003 12:54:40 -0200

On 2 January 2003 10:59, vda wrote:
> Okay, now I'll purge browser cache. Go for the .gif again.
> First time, it gets cached (TCP_MISS in access.log).
> Next time? TCP_REFRESH_HIT! From the FAQ: "TCP_REFRESH_HIT:
> The requested object was cached but STALE. The IMS query for
> the object resulted in '304 not modified'".
>
> I had similar problems when squid's box had wildly wrong
> system date (~1992 ;), but now date is correct.
>
> What's even more puzzling, http://www.xfree86.org/xfree86.logo.gif
> does NOT exhibit this. I get TCP_IMS_HIT on second and subsequent
> accesses, which is normal. Why?! Anyone with cluebat?

Update: logs with debug level 3 show this:

2002/01/02 16:45:19| refreshCheck: 'http://www.xfree86.org/isc.gif'
2002/01/02 16:45:19| STALE: age 106 > min 0

2002/01/02 16:45:49| refreshCheck: 'http://www.xfree86.org/xfree86.logo.gif'
2002/01/02 16:45:49| FRESH: age 8540 <= stale_age 9019410

Will look into src/refresh.c:refreshStaleness() for clues tomorrow

--
vda
Received on Thu Jan 02 2003 - 08:00:15 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:24 MST