Re: [squid-users] Understanding Referesh Pattern

From: Max Clark <max.clark@dont-contact.us>
Date: Tue, 5 Sep 2006 23:04:41 -0700

Okay,

This is where I get lost: "Cache static content (Last-Modified) for
20% of it's age". What sets the age on static content? Where can I
see/interrogate this?

Thanks,
Max

On 9/5/06, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> tis 2006-09-05 klockan 11:55 -0700 skrev Max Clark:
>
> > With the three examples below - what would the caching behavior be?
>
> > refresh_pattern . 0 20% 4320
>
> Don't cache dynamic content (no expires, cache-control or
> last-modified). Cache static content (Last-Modified) for 20% of it's age
> or at most 3 days.
>
> > refresh_pattern . 3600 20% 14400
>
> Cache dynamic content for 60 hours unless explicitly marked uncacheable.
> Static content for 20% it it's age or at most a week.
>
> > refresh_pattern . 3600 50% 14400
>
> Cache dynamic content for 60 hours unless explicitly marked uncacheable.
> Static content for 50% of it's age or at most a week.
>
>
> In all three content with an explicit expiry time (either Expires or
> Cache-Control) is expired by what the server says. refresh_pattern only
> applies on content not already having an expiry time set (unless you are
> using some of the overrides)
>
> Regards
> Henrik
>
>
>

-- 
 Max Clark
 http://www.clarksys.com
Received on Wed Sep 06 2006 - 00:05:45 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT