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