From 5fbd3a376eb401037ca91b182d232ff0ac65b680 Mon Sep 17 00:00:00 2001 From: Simon Tokumine Date: Tue, 6 Dec 2011 21:46:17 +0000 Subject: [PATCH] cache age of 60 mins --- lib/cartodb/cartodb_windshaft.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cartodb/cartodb_windshaft.js b/lib/cartodb/cartodb_windshaft.js index f450240a..838b4340 100644 --- a/lib/cartodb/cartodb_windshaft.js +++ b/lib/cartodb/cartodb_windshaft.js @@ -11,7 +11,7 @@ var CartodbWindshaft = function(serverOptions) { res.header('X-Cache-Channel', req.params.dbname); // note - may not be invalidating properly res.header('Last-Modified', new Date().toUTCString()); - res.header('Cache-Control', 'no-cache,must-revalidate, public'); + res.header('Cache-Control', 'no-cache,max-age=3600,must-revalidate, public'); callback(null, tile, headers); };