summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-11-30 13:12:28 +0300
committerAndrew Dolgov <[email protected]>2017-11-30 13:12:28 +0300
commite50c8eaa4e21599272565612a576435e6c0763ba (patch)
tree5e4a7d62f52b663bf5a66097d39667b8f6ead435 /include
parentecd2e414bde6b44bffeea0e6ee49d2dc603f35cc (diff)
enforce unconditional requests every 6 hours even if server claims data is not modified
Diffstat (limited to 'include')
-rw-r--r--include/functions.php3
1 files changed, 3 insertions, 0 deletions
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 */