Skip to content
Browse files

soft cache to stop flickering

  • Loading branch information...
1 parent 27f9796 commit a610ca12f7c6eadd08d2cf3811d5c76d04e2a4fe @jairajs89 committed Jan 29, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 package.json
  2. +1 −1 zerver.js
View
2 package.json
@@ -2,7 +2,7 @@
"author": "Jairaj Sethi <j@jairaj.org> (http://jairaj.org/)",
"name": "zerver",
"description": "client-integrated webapp server",
- "version": "0.7.8",
+ "version": "0.7.9",
"repository": {
"type": "git",
"url": "git://github.com/jairajs89/zerver.git"
View
2 zerver.js
@@ -144,7 +144,7 @@ function configureZerver (port, apiDir, apiURL, debug, refresh, logging, verbose
CACHE_CONTROL = 'no-cache';
}
else if (HAS_MANIFEST) {
- CACHE_CONTROL = 'max-age=0';
+ CACHE_CONTROL = 'max-age='+(PRODUCTION?'300':'0');
}
else {
CACHE_CONTROL = 'max-age=14400';

0 comments on commit a610ca1

Please sign in to comment.
Something went wrong with that request. Please try again.