LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Making squid work

[ILUG] Making squid work

Niall O Broin niall at linux.ie
Sun Oct 7 14:27:45 IST 2001


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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell