case classValidate(reason: String, staleIfError: Boolean = false) extends ResponseServeAction with Product with Serializable
A stored response was found, but is stale.
The cache must validate the request with the origin server.
If the origin server cannot be reached, then the cache MAY serve the
stale response. In addition, if staleOnError is true, then the cache can serve
the stale response when the origin server returns a 5xx response.
A stored response was found, but is stale.
The cache must validate the request with the origin server.
If the origin server cannot be reached, then the cache MAY serve the stale response. In addition, if staleOnError is true, then the cache can serve the stale response when the origin server returns a 5xx response.