Symfony\Component\HttpKernel\HttpCache\HttpCache::validate
Validates that a cache entry is fresh.
The original request is used as a template for a conditional GET request with the backend.
Signature
Parameters
$request
— Symfony\Component\HttpFoundation\Request- A Request instance
$entry
— Symfony\Component\HttpFoundation\Response- A Response instance to validate
$catch
— object- Whether to process exceptions
Returns
- Response
- A Response instance