Re: [squid-users] Refresh_Patter And Expiration

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 25 Feb 2004 14:46:27 +0100 (CET)

On Wed, 25 Feb 2004, Gerard Fremaint wrote:

> I don't understand very well what does the percent option in the
> refresh_pattern mean , can someone explain it to me ?
>
> Also how can I know the expiration date of an object being cached, and how
> does the expiration date for an object cached is set ?

The expiration date is set by either

a) Explicit expiry date set by origin server

b) refresh_pattern if no explicit expiry date provided.

The refresh_pattern simply defines the expiry date as a function of how
long ago the object was last modified, with a max/min value to keep it
reasonable.

So with the default refresh_pattern an object last modified 1 week ago
will be considered fresh by Squid for 33 1/2 hours (20% of 1 week).

Regards
Henrik
Received on Wed Feb 25 2004 - 06:46:31 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:03 MST