diff --git a/lib/cartodb/controllers/layergroup.js b/lib/cartodb/controllers/layergroup.js index b4cc67cc..f7215943 100644 --- a/lib/cartodb/controllers/layergroup.js +++ b/lib/cartodb/controllers/layergroup.js @@ -338,6 +338,8 @@ LayergroupController.prototype.staticMap = function(req, res, width, height, zoo LayergroupController.prototype.sendResponse = function(req, res, body, status, headers) { var self = this; + req.profiler.done('res'); + res.set('Cache-Control', 'public,max-age=31536000'); // Set Last-Modified header