Permalink
Browse files

Undocumented cache option

Dont pass this manually,
production mode sets cache to true
  • Loading branch information...
1 parent 1695c79 commit 74b3921eee097d6121fa5e6bcbc1446562d3b8aa @tj tj committed Jul 27, 2010
Showing with 0 additions and 3 deletions.
  1. +0 −1 docs/guide.md
  2. +0 −2 lib/express/view.js
View
1 docs/guide.md
@@ -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])
View
2 lib/express/view.js
@@ -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

0 comments on commit 74b3921

Please sign in to comment.