Re: old? heuristic in refreshIsCachable()

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 07 Apr 2003 11:30:57 +0200

mån 2003-04-07 klockan 10.15 skrev Robert Collins:
> What prompted the heuristic of not caching responses that expire in
> under 60 seconds?

This only applies to objects which cannot be re-validated.

The rule is because in a proxy the hit ratio for these objects is very
low, close to none.

> I ask because in rproxy scenarios, with surrogate-control headers, it's
> quite common to give the surrogate (squid) a low expiry, to ensure
> freshness to new visitors, while giving clients a high expiry, to reduce
> surrogate load.

In reverse proxies this rule can obviously be changed to 1 second.

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Mon Apr 07 2003 - 03:31:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:19:41 MST