Allow maxAge of server to be specified in a setting.

This commit is contained in:
Chad Weider 2012-02-06 23:04:02 -08:00
parent a5365f2547
commit 1fe9d2a21e
3 changed files with 10 additions and 2 deletions

View file

@ -55,6 +55,11 @@ exports.requireSession = false;
*/
exports.editOnly = false;
/**
* Max age that responses will have (affects caching layer).
*/
exports.maxAge = 1000*60*60*6; // 6 hours
/**
* A flag that shows if minification is enabled or not
*/