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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 19 Sep 2007 10:20:18 +0200

On ons, 2007-09-19 at 15:42 +0800, Adrian Chadd wrote:
> 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.)

It checks if the object is fresh, if not it switches to the cache
validation code path. As cache validation needs the old object it's not
removed other than as a side effect of cache validation resulting in a
new object to replace the old.

Regards
Henrik

Received on Wed Sep 19 2007 - 02:20:24 MDT

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