From 5d24da4f2bfce43fe3e842a6c35f617dfef1ea38 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Mon, 21 Sep 2015 22:36:13 +0200 Subject: [PATCH] Keep x-cache-channel in named map static maps --- lib/cartodb/controllers/named_static_maps.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/cartodb/controllers/named_static_maps.js b/lib/cartodb/controllers/named_static_maps.js index 9f604a08..fd0706f0 100644 --- a/lib/cartodb/controllers/named_static_maps.js +++ b/lib/cartodb/controllers/named_static_maps.js @@ -121,7 +121,6 @@ NamedStaticMapsController.prototype.named = function(req, res) { // added by createLayergroup cacheChannel = res.header('X-Cache-Channel'); - res.removeHeader('X-Cache-Channel'); self.surrogateKeysCache.tag(res, new NamedMapsCacheEntry(cdbUser, template.name)); layergroupId = layergroup.layergroupid.split(":")[0];