]> git.ipfire.org Git - thirdparty/squid.git/commit - src/refresh.cc
Author: Henrik Nordstrom <hno@squid-cache.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 8 Jan 2011 06:23:27 +0000 (19:23 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 8 Jan 2011 06:23:27 +0000 (19:23 +1300)
commit570d3f7565f28594ee6fa7feebf493562215b317
treef45821e868cb36aa43f847eca56862b5c9956b05
parentf48978e6e30c265daa92d86cd32921d7976ad198
Author: Henrik Nordstrom <hno@squid-cache.org>
Port from 2.7: maximum staleness limits

The default behaviour of Squid is to provide a stale copy (with Warnigng:
header) until an actove response from the origin server causes the object
to be updated or garbage collection causes its removal.

The max_stale direcive and refresh_pattern max-stale=N option allow admin
to set an upper limit on the objects age when serving stale responses.
doc/release-notes/release-3.2.sgml
src/cache_cf.cc
src/cf.data.pre
src/refresh.cc
src/structs.h