You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice with an option to specify a cache option when setting a route
router.file(__dirname + '/static/404.html',{status:404, cacheMaxAge:60});
this would set the http header "cache-control" to "max-age=60" for 1 min client side cache
default should not set the http cache-control header (as it currently does)
The text was updated successfully, but these errors were encountered:
Would be nice with an option to specify a cache option when setting a route
router.file(__dirname + '/static/404.html',{status:404, cacheMaxAge:60});
this would set the http header "cache-control" to "max-age=60" for 1 min client side cache
default should not set the http cache-control header (as it currently does)
The text was updated successfully, but these errors were encountered: