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




Reply via email to