RE: [squid-users] offline mode issue

From: Shaun Skillin \(home\) <shaun@dont-contact.us>
Date: Sun, 1 Oct 2006 12:49:35 -0600

This is what I thought. However, the cache does not return anything to the client, even any stale content - the cache tries to contact the server just like it is in "online" mode. The client browser eventually times-out, with no content delivered to it.
Could it be that my cache doesn't actually have the content cached? I see it in cachemgr listing. Is there anything else needed to be allowed to use "offline" mode besides making the toggle? Is it possible my browser (IE6) is sending a forced reload request automatically?
Thanks!

-----Original Message-----
From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
Sent: Sunday, October 01, 2006 12:22 PM
To: Shaun Skillin (home)
Cc: Squid Users
Subject: Re: [squid-users] offline mode issue

sön 2006-10-01 klockan 11:25 -0600 skrev Shaun Skillin (home):
> I'm having trouble getting offline mode to work. In my test setup,
> I'm toggling offline mode via cache manager, then shutting off the
> outside Ethernet of my firewall to deny connection to the Internet.
> What I see in a capture from the Squid server is that it will try to
> go to the Internet even in offline mode. (I am going to a page that I
> just visited before disconnecting, which shows up as cached in Cache
> Stats and Contents). Is there another setting that I'm simply
> missing? Do I need to patch Squid somehow?

offline_mode currently only means "give whatever content found in the
cache even if stale". Squid will still try to retrieve any content not
found in the cache or client forced reloads.

Regards
Henrik
Received on Sun Oct 01 2006 - 12:49:42 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:03 MST