Re: [squid-users] Re: refresh patterns!

From: Andreas Pettersson <andpet@dont-contact.us>
Date: Wed, 15 Aug 2007 17:40:56 +0200

RW wrote:
> On Tue, 14 Aug 2007 20:30:28 +0200
> Henrik Nordstrom <henrik@henriknordstrom.net> 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
Received on Wed Aug 15 2007 - 09:41:06 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT