Re: [squid-users] caching too good?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 11 Mar 2005 13:05:47 +0100 (CET)

On Fri, 11 Mar 2005, Henrik Nordstrom wrote:

> On Fri, 11 Mar 2005, Reuben Farrelly wrote:
>
>> I'd be interested to know what having no patterns defined in a working
>> squid.conf (like yours) is _supposed_ to do though (does it just cache
>> everything infinitely?).
>
> #define REFRESH_DEFAULT_MIN (time_t)0
> #define REFRESH_DEFAULT_PCT 0.20
> #define REFRESH_DEFAULT_MAX (time_t)259200
>
> i.e the same as
>
> refresh_pattern . 0 20% 259200

Correction.. 259200 is in seconds while refresh_pattern expects minutes.
So the default is actually

refresh_pattern . 0 20% 4320

Regards
Henrik
Received on Fri Mar 11 2005 - 05:05:54 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST