route-cache
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -14,3 +14,2 @@ var Eidetic = require('eidetic'); | ||
if (cache) { | ||
console.info('routecache hit'); | ||
res.send(cache); | ||
@@ -21,3 +20,2 @@ } else { | ||
var body = string instanceof Buffer ? string.toString() : string; | ||
console.info('routecache\'d: ' + req.path, ' length: ' + body.length); | ||
cachestore.put(req.path, body, ttl); | ||
@@ -24,0 +22,0 @@ send.call(this, body); |
{ | ||
"name": "route-cache", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "express middleware for caching your routes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3253
25