Skip to content
Myr

Added more cache key specs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent ead3cac · Browse files · 2 files+15 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+15 added−2 removed

  • tests:+15 added−0 removed
  • other:+0 added−2 removed

2 files+15 added−2 removed

modified:lib/express/plugins/cache.js-2 removed
188 unmodified lines
189 * @api private190 */191 192 normalize: function(pattern) {193 // TODO: ensure that stuff like "page:/users/1?foo=bar" will work194 // because they wont right now :)193 return new RegExp('^' + pattern.replace(/[*]/g, '(.*?)') + '$')194 }195})196
38 unmodified lines
modified:spec/spec.plugins.cache.js+15 added