Re: [squid-users] about refresh_pattern

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 23 Oct 2008 23:08:53 +1300

Sandy lone wrote:
> Hello,
>
> Under what cases squid will use refresh_pattern?
> If the response objects have expire or age headers, squid will follow
> their values.

Yes. Unless refresh_pattern have been specified with ignore-* HTTP
violations.

> If the response objects have neither expire nor age headers, squid
> will not cache them at all.

No, squid will try to cache unless forbidden (private, no-cache, sets a
cookie, authenticated pages).

> So when will squid use the refresh_pattern settings?

Any pages which had no age information and passed the cacheability tests
for the above.
I think its tested when followup request need to know about freshness,
or on garbage collection.

Amos

-- 
Please use Squid 2.7.STABLE4 or 3.0.STABLE9
Received on Thu Oct 23 2008 - 10:09:01 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 23 2008 - 12:00:04 MDT