From 7925fe95b91db2ee2c8657a5d38e94f12a16ee57 Mon Sep 17 00:00:00 2001 From: Brad Oyler Date: Fri, 4 Jul 2014 22:56:00 -0400 Subject: [PATCH] remove logging --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index a22ced3..ee81c97 100644 --- a/index.js +++ b/index.js @@ -11,13 +11,11 @@ module.exports.cacheSeconds = function(ttl) { var cache = cachestore.get(req.path); if (cache) { - console.info('routecache hit'); res.send(cache); } else { var send = res.send; res.send = function(string) { var body = string instanceof Buffer ? string.toString() : string; - console.info('routecache\'d: ' + req.path, ' length: ' + body.length); cachestore.put(req.path, body, ttl); send.call(this, body); };