Re: [squid-users] Understanding Referesh Pattern

From: Henrik Nordstrom <[email protected]>
Date: Tue, 05 Sep 2006 23:24:03 +0200

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

Received on Tue Sep 05 2006 - 15:24:08 MDT

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