[squid-users] cache ignored

From: John Poltorak <jp@dont-contact.us>
Date: Wed, 15 Dec 2004 12:44:39 +0000

How do I force Squid to serve cached pages?

It did manage to cache a page, but then ignored it.

Running wget -S http://localhost/ a number of times I get this in my
access.log:-

1103112862.880 80 127.0.0.1 TCP_MISS/200 3325 GET http://localhost:8080/ - DIRECT/127.0.0.1 text/html
1103112897.320 140 127.0.0.1 TCP_REFRESH_MISS/200 3324 GET http://localhost:8080/ - DIRECT/127.0.0.1 text/html
1103114187.780 30 127.0.0.1 TCP_REFRESH_MISS/200 3324 GET http://localhost:8080/ - DIRECT/127.0.0.1 text/html

The page is in Squid's cache, but as I understand the entries above, it is
being ignored. Is this because of a Squid setting, or because there is
something in the web preventing it from being served from cache?

I have this as a refresh pattern:-

refresh_pattern /$ 30 50% 60
 

Is it appropriate?

-- 
John
Received on Wed Dec 15 2004 - 05:46:15 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST