Skip to content
This repository
Browse code

Undocumented cache option

Dont pass this manually,
production mode sets cache to true
  • Loading branch information...
commit 74b3921eee097d6121fa5e6bcbc1446562d3b8aa 1 parent 1695c79
TJ Holowaychuk authored

Showing 2 changed files with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. +0 1  docs/guide.md
  2. +0 2  lib/express/view.js
1  docs/guide.md
Source Rendered
@@ -477,7 +477,6 @@ automatically, however otherwise a response of _200_ and _text/html_ is given.
477 477
478 478 - _context|scope_ Template evaluation context (_this_)
479 479 - _locals_ Object containing local variables
480   - - _cache_ Cache intermediate JavaScript in memory (the default in _production_ mode)
481 480 - _debug_ Output debugging information
482 481
483 482 ### res.partial(view[, options])
2  lib/express/view.js
@@ -202,8 +202,6 @@ http.ServerResponse.prototype.partial = function(view, options, ext){
202 202 *
203 203 * - `context|scope` Template evaluation context (`this`)
204 204 * - `locals` Object containing local variables
205   - * - `filename` Filename used for the `cache` option
206   - * - `cache` Cache intermediate JavaScript in memory
207 205 * - `debug` Output debugging information
208 206 *
209 207 * @param {String} view

0 comments on commit 74b3921

Please sign in to comment.
Something went wrong with that request. Please try again.