cache age of 60 mins

This commit is contained in:
Simon Tokumine 2011-12-06 21:46:17 +00:00
parent 1bb5824cf7
commit 5fbd3a376e

View File

@ -11,7 +11,7 @@ var CartodbWindshaft = function(serverOptions) {
res.header('X-Cache-Channel', req.params.dbname); res.header('X-Cache-Channel', req.params.dbname);
// note - may not be invalidating properly // note - may not be invalidating properly
res.header('Last-Modified', new Date().toUTCString()); 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); callback(null, tile, headers);
}; };