Merge pull request #630 from CartoDB/close-response-timer

Close timer for response preparation
This commit is contained in:
Raul Ochoa
2017-02-22 18:46:56 +01:00
committed by GitHub
+2
View File
@@ -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