Skip to content
Myr

"cache views" -> "cache view contents"

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

This will make way for "cache views" to be the canonical way to cache view I/O contents AND their rendering

authored by visionmedia · committed by visionmedia · parent 61b8248 · Browse files · 5 files+5 added−5 removed
This commit

State

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

Diff stats

5 files+5 added−5 removed

  • other:+5 added−5 removed

5 files+5 added−5 removed

modified:examples/app.js+1 added-1 removed
modified:lib/express/plugins/view.js+2 added-2 removed
modified:lib/express/core.js+1 added
262 unmodified lines
263// --- Defaults264265configure(function(){266 use(require('express/plugins/view').View)267 use(require('express/plugins/cache').Cache)268 use(require('express/plugins/redirect').Redirect)269 use(require('express/plugins/body-decoder').BodyDecoder)270})271
8 unmodified lines
modified:lib/express/plugins.js-1 removed
modified:Readme.md+1 added-1 removed
56 unmodified lines
57 use(MethodOverride)58 use(ContentLength)59 use(Redirect)60 set('root', dirname(__filename))61 enable('cache views')61 enable('cache view contents')62 })63 64 get('/hello', function(){65 this.contentType('html')
79 unmodified lines