>
> 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?
Hm,
% wget -S
-S means prints 'server response' ; this probably causes
squid to re-validate the object, as a result of the wget request headers.
Check if it work, if '-S' is not used.
M.
Received on Wed Dec 15 2004 - 06:00:02 MST
This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST