]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Adrian Chadd <adrian@squid-cache.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 23 May 2009 03:21:41 +0000 (15:21 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 23 May 2009 03:21:41 +0000 (15:21 +1200)
Add in some better documentation for override-expire.

Attempt to clearly document exactly what it does - in this instance, it
enforces min age and doesn't allow the admin to enforce max-age -
ie, truncate staleness.

src/cf.data.pre

index d0378bc0fdaca7f4e5d0f3aa71b972c216925400..76c19890eaf492a6919af3cdde851881f6d787d8 100644 (file)
@@ -2561,6 +2561,11 @@ DOC_START
                VIOLATES the HTTP standard.  Enabling this feature
                could make you liable for problems which it causes.
 
+               Note: override-expire does not enforce staleness - it only extends
+               freshness / min. If the server returns a Expires time which
+               is longer than your max time, Squid will still consider
+               the object fresh for that period of time.
+
                override-lastmod enforces min age even on objects
                that were modified recently.