Merge pull request #630 from CartoDB/close-response-timer
Close timer for response preparation
This commit is contained in:
commit
933d486a57
@ -338,6 +338,8 @@ LayergroupController.prototype.staticMap = function(req, res, width, height, zoo
|
|||||||
LayergroupController.prototype.sendResponse = function(req, res, body, status, headers) {
|
LayergroupController.prototype.sendResponse = function(req, res, body, status, headers) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
|
req.profiler.done('res');
|
||||||
|
|
||||||
res.set('Cache-Control', 'public,max-age=31536000');
|
res.set('Cache-Control', 'public,max-age=31536000');
|
||||||
|
|
||||||
// Set Last-Modified header
|
// Set Last-Modified header
|
||||||
|
Loading…
Reference in New Issue
Block a user