Re: Serving stale pages

From: Dancer <>
Date: Tue, 28 Jul 1998 13:15:42 +1000

Phil Dye wrote:
> On Wed, Jul 22, 1998 at 09:51:38PM +0200, Henrik Nordstrom wrote:
> > Rodney Holm wrote:
> >
> > > Am I correct in assuming that it has something to do with the web
> > > server not sending the Last Modified information or the Expires
> > > information in the http header.
> >
> > It also depends on which refresh_parttern settings you have in
> > squid.conf.
> Talking of which, what are folks using to tweak their refresh_pattern?
> The default treats everything the same, which I am aware is (mostly)
> non-optimal, since images tend to change less often than HTML text.
> I realise that there is going to be no definitive answer to this;
> the 'right' values will depend on your user community and what
> they use the cache for, but are there any general pointers?

Correct. There isn't any 'right' answer. We match file-extensions with
various ages, based on logfile-analysis to determine the sort of things
that change infrequently without also changing URL. The analysis step
gives us workable times, and we can override for a few key sites where
the rules don't hold (...basically, when someone complains).

I think I've got about a hundred policy lines or so. Mostly
human-readable, since they get passed through the g++ pre-processor
before becoming a part of the squid.conf.


Version: 3.1
GAT d- s++: a C++++$ UL++++B+++S+++C++H++U++V+++$ P+++$ L+++ E-
W+++(--)$ N++ w++$>--- t+ 5++ X+() R+ tv b++++ DI+++ e- h-@ 
Received on Mon Jul 27 1998 - 20:31:31 MDT

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