Skip to content
Myr

docs

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent e21a79d · Browse files · 1 file+6 added−0 removed
This commit

State

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

Diff stats

1 file+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:lib/response.js+6 added
42 unmodified lines
4344/**45 * Set Cache-Control to the given `type` and `options`.46 *47 * Options:48 *49 * - `maxAge` in milliseconds50 * - `maxStale` in milliseconds51 * - `minFresh` in milliseconds52 *53 * @param {String} type54 * @param {Object} options55 * @return {ServerResponse}56 * @api public
544 unmodified lines