cache age of 60 mins
This commit is contained in:
parent
1bb5824cf7
commit
5fbd3a376e
@ -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);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user