Re: [squid-users] How can I clean out old objects - refresh patterns and really old items

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 19 Sep 2007 15:42:12 +0800

On Wed, Sep 19, 2007, Henrik Nordstrom wrote:

> > * A request occurs and squid checks the file for freshness, or
>
> no.

It doesn't? I swear I've seen code which checks whether the object is stale
or not before using the in-memory copy (or whether it needs to be revalidated.)

> > * Squid issues a validation requests and determines the local copy is stale, or
>
> no, but it does replace the old copy if it is given a new object to
> replace the old.
>
> > * Squid needs to make space (as the disk store is full) and starts running
> > the object replacement policy to purge objects - but then, it doesn't maintain
> > a list of "stale" objects to purge; it just deletes the 'oldest' objects.
>
> * if there is certain HTTP request methods to the URL of the object
> where it can be expected the object change, such as PUT.

Good point, I forget about that..

Adrian
Received on Wed Sep 19 2007 - 01:37:34 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT