Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Ability to specify cache time on get requests #1

Closed
ghost opened this Issue · 1 comment

1 participant

@ghost

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)

@mafintosh
Owner

closed with 66e2f52

@mafintosh mafintosh closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.