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
signature.asc
Description: This is a digitally signed message part
