Re: [ILUG] Making squid work

From: Niall O Broin (niall at domain linux.ie)
Date: Sun 07 Oct 2001 - 14:27:45 IST


On Sun, Oct 07, 2001 at 01:44:37AM +0100, Niall Brady wrote (off-list) :

> I'll avoid a list reply 'cos this is a silly email... you don't
> have something set in netscape (can't remember where it is), like
> "check for new page every download"? That would stop that... I've

In my Netscape->Edit->Preferences->Advanced->Cache there is a setting

Document on cache is compared to document on network

+ Every time
+ Once per session
+ Never

which I have set to 'Once per session' but as I have no Netscape disk cache
configured at the start of every session there is nothing in Netscape's
cache anyway so everything it must go to the proxy for everything it's asked
for the first time it's asked for it. But the strange thing is that the
behaviour is inconsistent. When I use Netscape on my notebook it always (so
far) works as advertised i.e. gets the cached GIFs from cache. However, the
behaviour of Netscape on the same box as squid is erratic. Sometimes it
fetches the cached GIFs, other times it refetches them. This morning, for
instance, it has always fetched the GIFs for UF from the squid cache.

However, I actually didn't start down this road because of UF but because of
work (Yes, it's true !). I regular go to www.inpho.ie, a site I manage, and
the images on that front page are static. But every time I go there (after
restarting Netscape) the images are fetched from the site again, and the
Squid logs show a bunch of TCP_CLIENT_REFRESH_MISS lines which indicate
that the client asked for the cache to be bypassed, and this site is
behaving that way now, while the UF page is OK. Oh - Inpho's site behaves as
desired from the notebook too. And before you ask - in case there was
something about the notebook preferences, I just copied
~/.netscape/preferences.js from the notebook to the squid machine and it
made no difference.

This has consumed too much of my time. I just now applied the

refresh . . . . . reload-into-ims

as suggested by Wesley which, although it violates the HTTP protocol, works
much better for me, and is it's only for my HAN . . . (anyway, Netscape is
surely violating something else, if I only knew what)

> You should find those anthony-blahblah.gif icon thingummys in
> $SQUID/etc/icons/ if you're curious ;-)

Well, my curiosity was to do with what they're used for. Whenever I see
pages coming back from squid per se they're always just text - no icons - so
where are the icons used ?

Niall



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:35 GMT