Re: [squid-users] Refresh pattern in seconds?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 17 Feb 2004 17:37:21 +0100 (CET)

On Tue, 17 Feb 2004, [ISO-8859-15] Taneli Leppä wrote:

> If Squid's manual is correct, is it true that I can only set
> an object's min and max age as minutes? Can I use fractions
> of minutes like 0.5 for 30 seconds?

No.

> If not, is there a
> patch to change the age setting to seconds?

Not that I know of, but you are welcome to make one. Internally the
refresh patterns uses seconds. See parse_refreshpattern for how the
refresh_pattern directive is parsed into the internal data.

> Also if the setting is less than one minute, Squid will not
> cache the object anyway, but I found a patch for this so it's
> not a problem.

This is also addressed in Squid-3.0 with a configurable parameter.

Regards
Henrik
Received on Tue Feb 17 2004 - 09:37:29 MST

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