From 05fcf4ba4a9a63c2007eef31405c2a3712776241 Mon Sep 17 00:00:00 2001 From: 0ip Date: Wed, 11 Apr 2012 22:22:28 +0300 Subject: [PATCH] Having "maxAge" twice doesn't double the fun --- settings.json.template | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/settings.json.template b/settings.json.template index 7aaa5d7ed..d75d53a8d 100644 --- a/settings.json.template +++ b/settings.json.template @@ -40,8 +40,8 @@ "minify" : true, /* How long may clients use served javascript code (in seconds)? Without versioning this - is may cause problems during deployment. Set to 0 to disable caching */ - "maxAge" : 21600, // 6 hours + may cause problems during deployment. Set to 0 to disable caching */ + "maxAge" : 21600, // 60 * 60 * 6 = 6 hours /* This is the path to the Abiword executable. Setting it to null, disables abiword. Abiword is needed to enable the import/export of pads*/ @@ -55,7 +55,4 @@ /* The log level we are using, can be: DEBUG, INFO, WARN, ERROR */ "loglevel": "INFO", - - /* cache 6 hours = 1000*60*60*6 */ - "maxAge": 21600000 }