function Response::isValidateable
Returns true if the response includes headers that can be used to validate the response with the origin server using a conditional GET request.
@final
1 call to Response::isValidateable()
- Response::isCacheable in vendor/
symfony/ http-foundation/ Response.php - Returns true if the response may safely be kept in a shared (surrogate) cache.
File
-
vendor/
symfony/ http-foundation/ Response.php, line 571
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function isValidateable() : bool {
return $this->headers
->has('Last-Modified') || $this->headers
->has('ETag');
}