Gets the cache duration from a response's 'cache-control' header. Defaults to 24 hours if 'max-age' is not specified.
The HTTP response to check.
expiresIn - Cache duration in seconds.
Gets the cache duration from a response's 'cache-control' header. Defaults to 24 hours if 'max-age' is not specified.