Re: [squid-users] My cache is far away from full. But lots of things get released. Why?

From: Joao Pedro Clemente <jpcl@dont-contact.us>
Date: Mon, 8 Oct 2001 18:55:37 +0100 (WET DST)

> Squid does not cache
> a) Objects which is explicitly marked as uncacheable by the origin
> server

> Regards
> Henrik Nordström
> Squid Hacker

Ok, I see your point.
So, you beeing a squid hacker, please comment if this is possible or if it
is a complete nonsense :

Have squid ( optionnally defined in the config file , and for some object
tipes only defined by some
rule like *.gif, *.jpg or whatever )
that if these objects come with NO_CACHe directive from the web server ,
then cache them and do one of these things in a later acess:

a) Send an IMS to the server before returning the cached object
b) Completely ignore the directive for xxxx seconds (defined in the
config file where we asked this feature) since it was cached,
and only then think of it as STALE (worst in my opinion, but would
increase performance greatly if the objects rarely change)

I had a proxy server in a win machine that had an option to disregard
server control directives and... uau, "that was fast".
However, that brought consistency problems , but as long as we do some ims
query i dont see why not..

Let me ask this in some other way :
Why should I feel bad in caching some kind of objects (like jpg and gifs)
when I look to squid reports to see that I have lot of uncached acesses
to some website I know most of things rarely change?
And if I use an IMS or semthing to confirm my tought about the objects,
then why not to cache it , disregarding the site sayings?
Received on Mon Oct 08 2001 - 11:58:09 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:38 MST