RW wrote:
On Tue, 14 Aug 2007 20:30:28 +0200
Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> wrote:
On tis, 2007-08-14 at 18:07 +0100, RW wrote:
Are refresh patterns very relevant to hit-rates?
Yes, refresh_pattern tune how long objects is considered fresh, and
also the tool to override HTTP freshness when needed..
Why does that affect the hit rate? If a browser makes a GET request
to squid for a stale object, and squid makes a GET-IMS request to the
server, and gives the client the object out of cache, then surely that's
a cache hit.
GET-IMS is only possible if there is a Last-Modified in the http header.
All objects without LM (and no Cache-Control) are subject to refresh
patterns (unless a cache acl kick in).
--
Andreas