Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Undocumented cache option

Dont pass this manually,
production mode sets cache to true
  • Loading branch information...
commit 74b3921eee097d6121fa5e6bcbc1446562d3b8aa 1 parent 1695c79
TJ Holowaychuk tj authored
Showing with 0 additions and 3 deletions.
  1. +0 −1  docs/guide.md
  2. +0 −2  lib/express/view.js
1  docs/guide.md
View
@@ -477,7 +477,6 @@ automatically, however otherwise a response of _200_ and _text/html_ is given.
- _context|scope_ Template evaluation context (_this_)
- _locals_ Object containing local variables
- - _cache_ Cache intermediate JavaScript in memory (the default in _production_ mode)
- _debug_ Output debugging information
### res.partial(view[, options])
2  lib/express/view.js
View
@@ -202,8 +202,6 @@ http.ServerResponse.prototype.partial = function(view, options, ext){
*
* - `context|scope` Template evaluation context (`this`)
* - `locals` Object containing local variables
- * - `filename` Filename used for the `cache` option
- * - `cache` Cache intermediate JavaScript in memory
* - `debug` Output debugging information
*
* @param {String} view
Please sign in to comment.
Something went wrong with that request. Please try again.