Re: [squid-users] offline mode issue

From: Chris Robertson <crobertson@dont-contact.us>
Date: Mon, 02 Oct 2006 10:50:39 -0800

Shaun Skillin (home) wrote:
> I'm happy to provide whatever documentation I can, but I'd like to make
> sure it's working first and this outstanding issue still has me stumped.
> Here's a quick snip from the access log, going to a few sites. Notice
> that all of them are misses. Google is going to 3 different servers, so
> I could maybe see a miss the first time it visits each site, but these
> are all misses every time. So, in the present setup, I cannot support an
> offline_mode at all. Any ideas on this?
>
> 1159796708.843 555 127.0.0.1 TCP_MISS/200 31444 GET
> http://www.microsoft.com - DIRECT/207.46.225.60 text/html
>
http://www.ircache.net/cgi-bin/cacheability.py?query=http%3A%2F%2Fwww.microsoft.com%2F
> 1159796710.853 129 127.0.0.1 TCP_MISS/200 31444 GET
> http://www.microsoft.com - DIRECT/207.46.225.60 text/html
> 1159796712.730 84 127.0.0.1 TCP_MISS/200 31444 GET
> http://www.microsoft.com - DIRECT/207.46.225.60 text/html
> 1159796718.040 175 127.0.0.1 TCP_MISS/200 3984 GET
> http://www.google.com - DIRECT/66.102.7.104 text/html
>
http://www.ircache.net/cgi-bin/cacheability.py?query=http%3A%2F%2Fwww.google.com%2F
> 1159796719.611 88 127.0.0.1 TCP_MISS/200 3984 GET
> http://www.google.com - DIRECT/66.102.7.147 text/html
> 1159796720.844 91 127.0.0.1 TCP_MISS/200 3984 GET
> http://www.google.com - DIRECT/66.102.7.99 text/html
> 1159796851.780 90 127.0.0.1 TCP_MISS/200 3984 GET
> http://www.google.com - DIRECT/66.102.7.104 text/html
> 1159796853.392 84 127.0.0.1 TCP_MISS/200 3984 GET
> http://www.google.com - DIRECT/66.102.7.147 text/html
> 1159796854.326 87 127.0.0.1 TCP_MISS/200 3984 GET
> http://www.google.com - DIRECT/66.102.7.99 text/html
>
>
>
In both cases the page is set as "private" and not cache-able. You
could try using "header_access Cache_Control deny" with ACLs that
stipulate the sites you wish to cache, but that may have adverse effects
(actual private data, such as emails and custom search pages might be
cached).

Chris
Received on Mon Oct 02 2006 - 12:50:58 MDT

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