com.typesafe.play.cachecontrol
Returns a ServeFresh if the cached response is fresh enough.
Returns a ServeFresh if the cached response is fresh enough.
Clients can send the max-age or min-fresh cache directives in a request to constrain or relax freshness calculations for the corresponding response (Section 5.2.1).
https://tools.ietf.org/html/rfc7234#section-4.2
Determines if a stale response without validation is appropriate.
Determines if a stale response without validation is appropriate.
https://tools.ietf.org/html/rfc7234#section-4.2.4
This class determines whether a cache can serve a stored response from request. It is "Constructing Responses from Caches" section in RFC 7234.
If there are multiple matches, the most recent response must be sent for evaluation, as determined by the Date header field.
https://tools.ietf.org/html/rfc7234#section-4