From e50c8eaa4e21599272565612a576435e6c0763ba Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 30 Nov 2017 13:12:28 +0300 Subject: enforce unconditional requests every 6 hours even if server claims data is not modified --- include/functions.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/functions.php b/include/functions.php index 6c7a6de5f..277975c5c 100644 --- a/include/functions.php +++ b/include/functions.php @@ -57,6 +57,9 @@ // do not cache files smaller than that (bytes) define_default('CACHE_MAX_DAYS', 7); // max age in days for various automatically cached (temporary) files + define_default('MAX_CONDITIONAL_INTERVAL', 3600*6); + // max interval between forced unconditional updates for servers + // not complying with http if-modified-since (seconds) /* tunables end here */ -- cgit v1.2.3-54-g00ecf