Re: [squid-users] cache ignored

From: Andrew Sawyers <andrew@dont-contact.us>
Date: Wed, 15 Dec 2004 11:07:59 -0500

John Poltorak wrote:
> 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?
>
What's your headers look like? - supply the result of your wget -S
Andrew

-- 
Zope Managed Hosting
Systems Administrator/Software Engineer
Zope Corporation
(540) 361-1700
Received on Wed Dec 15 2004 - 09:08:03 MST

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