Re: [squid-users] Question regarding stats

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 06 Jul 2010 23:52:14 +1200

Markus Meyer wrote:
> Am 06.07.2010 12:53, schrieb Markus Meyer:
>> Am 05.07.2010 12:20, schrieb Amos Jeffries:
>>> Should be the time of service for If-Modified-Sice requests that
>>> returned a changed object. TCP_REFRESH_HIT in access.log.
>> So, those are requests to the parents and not the siblings? And they
>> only for If-Modified-Since requests?
>>
>> From the Wiki:
>> TCP_REFRESH_HIT The requested object was cached but STALE. The IMS
>> query for the object resulted in "304 not modified".
>>
>> But I do get TCP_REFRESH_HIT/304 _and_ TCP_REFRESH_HIT/200 in my logs.
>> Most of them from ROUNDROBIN_PARENT but a few coming from NONE.

HTTP includes the option of replying to a If-Modified with 304 for
Not-Modified or 200 for Modified.

I think Squid should have been logging them as 304/REFRESH_HIT and
200/REFRESH_MISS though. This needs a closer examination.

>>
>> So I'm a bit confused. Please enlighten me... ;)
>
>
> And also there is the point
> Not-Modified Replies: 0.00000 0.00000
> in the Cachemgr. This lightly enhances my confusion...
>
> Peace, Markus

And brings some in for me as well. I followed the Cachemgr and SNMP
variables in the code to produce that first answer.

I'm not sure at this point why you get 0.0000 for the not-modified which
I would expect to be non-zero from those 304 replies.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.5
Received on Tue Jul 06 2010 - 11:52:28 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 06 2010 - 12:00:02 MDT