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