Squid checks for validity of the page stored in cache so when it cannot
connect to the origin server it returns an error. What you can do is
increase the refresh pattern value to cache for longer and disable
connecting to origin. This might work for some sites and not all.
refresh_pattern . 4320 100% 5760
Irfan Akber
----------
> From: SVEC MILAN <svec@SG.PILSEDU.CZ>
> To: squid-users@ircache.net
> Subject: offline browsing
> Date: Tuesday, May 04, 1999 2:41 PM
>
> Hi,
> we use Squid (build 2, Red Hat Linux) as a proxy cache for out
> network. The network is connected to Internet by dial-up link.
> When the link is down and I try to connect to some site,
> Squid returns an error, even thought the requested page is cached
> in its cache. I would prefer older page rather than no page.
> Do you knou how to solve this?
> Thanks,
> Milan Svec
Received on Tue May 04 1999 - 08:21:54 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:13 MST