Re: [squid-users] acl and cache

From: Henrik Nordstrom <[email protected]>
Date: Wed, 03 May 2006 11:25:29 +0200

ons 2006-05-03 klockan 10:35 +0200 skrev Aurélien Bras:

> "If you add a no_cache rule after Squid has been running for a while,
> the cache may contain
> some objects that match the new rule. Prior to Squid Version 2.5,
> these previously cached
> objects might be returned as cache hits. Now, however, Squid purges
> any cached response for a request that matches a no_cache rule."

Yes, but this doesn't mean the cached content will be purget. Only that
requests matching your no_cache rules will not look into the cache and
their result will not be cached.

Other requests for the same URL but not matching your no_cache rules
will be cached as usual.

> First request : MISS ok.
> Second request : REFRESH_HIT on FRONT and REFRESH_MISS on BACK
>
> Not good

Why?

> , after disable : #no_cache deny BACK
>
> Thirst request REFRESH_HIT on FRONT and REFRESH_HIT on BACK
>
> It's ok but BACK can put new objects in cache :(

Why is this better?

Regards
Henrik

Received on Wed May 03 2006 - 03:25:54 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:01 MDT