Skip to content

Commit

Permalink
Merge branch 'MyBoon-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Addison Higham committed Feb 20, 2015
2 parents 1447608 + 9a08aaa commit 5f4ddce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Expand Up @@ -50,9 +50,10 @@ cacher.on("error", function(err) {
})

// Dev mode, quickly turn off caching when it gets in the way
app.configure('development', function() {
var env = process.env.NODE_ENV || 'development';
if (env === 'development') {
cacher.noCaching = true
})
}

// override cache key generation for finer grain control
cacher.genCacheKey = function(req) {
Expand Down

0 comments on commit 5f4ddce

Please sign in to comment.