Compute a key from the request header
Cache duration (in seconds, 0 means eternity)
Action to cache
Returns itself, for better support in the routes file.
Returns itself, for better support in the routes file.
itself
Cache duration (in seconds, 0 means eternity)
Compute a key from the request header
Cache an action.
Uses both server and client caches:
Expires
header to the response, so clients can cache response content ;Etag
header to the response, so clients can cache response content and ask the server for freshness ;Compute a key from the request header
Cache duration (in seconds, 0 means eternity)
Action to cache