Skip to content
Myr

Undocumented cache option

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

Dont pass this manually, production mode sets cache to true

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 1695c79 · Browse files · 2 files+0 added−3 removed
This commit

State

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

Diff stats

2 files+0 added−3 removed

  • other:+0 added−3 removed

2 files+0 added−3 removed

modified:docs/guide.md-1 removed
475 unmodified lines
476 both [haml](http://github.com/visionmedia/haml.js) and [jade](http://github.com/visionmedia/jade) accept all:477478 - _context|scope_ Template evaluation context (_this_)479 - _locals_ Object containing local variables480 - _cache_ Cache intermediate JavaScript in memory (the default in _production_ mode)480 - _debug_ Output debugging information481482### res.partial(view[, options])483
176 unmodified lines
modified:lib/express/view.js-2 removed
200 unmodified lines
201 * both _haml_ and _jade_ accept all:202 *203 * - `context|scope` Template evaluation context (`this`)204 * - `locals` Object containing local variables205 * - `filename` Filename used for the `cache` option206 * - `cache` Cache intermediate JavaScript in memory205 * - `debug` Output debugging information206 *207 * @param {String} view208 * @param {Object} options
112 unmodified lines