From b4c046f29792c73017d09c8b6ac604ecb35d26ad Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 23 May 2009 15:21:41 +1200 Subject: [PATCH] Author: Adrian Chadd 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cf.data.pre b/src/cf.data.pre index d0378bc0fd..76c19890ea 100644 --- a/src/cf.data.pre +++ b/src/cf.data.pre @@ -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. -- 2.47.2