[squid-users] Always TCP_REFRESH

From: Aurélien Bras <aurelien.bras@dont-contact.us>
Date: Fri, 28 Apr 2006 16:57:14 +0200

Hi,

In all my logs i found TCP_REFRESH_HIT : HIT and MEM_HIT is very rare.

So to test my refresh_pattern rules i add override-expire to override
the expire time.

I tried this monday it worked very good, but I can do the same think
todays for my demo . I have alway TCP_REFRESH_HIT :(

my first request (after erase my cache) :
squidclient -v -p 8081 http://www.google.com/images/weather/sunny.gif > LL
headers: 'GET http://www.google.com/images/weather/sunny.gif HTTP/1.0
Accept: */*

'
2006-04-27 10:53:29 [1]: 0.000 secs, -1.000000 KB/s (2KB)

give :

TCP_MISS/200 1450 GET http://www.google.com/images/weather/sunny.gif

ok normal...

But the second and all next give :

TCP_REFRESH_HIT/200 1448 GET http://www.google.com/images/weather/sunny.gif

And I have this one refresh_pattern rule :

refresh_pattern . 100 20% 4320 override-expire

I have tried on Squid 2.5.STABLE7 and STABLE13.
Received on Fri Apr 28 2006 - 08:57:16 MDT

This archive was generated by hypermail pre-2.1.9 : Mon May 01 2006 - 12:00:02 MDT