Symfony\Component\HttpKernel\HttpCache\HttpCache::isFreshEnough
Checks whether the cache entry is "fresh enough" to satisfy the Request.
Signature
Parameters
$request
— Symfony\Component\HttpFoundation\Request- A Request instance
$entry
— Symfony\Component\HttpFoundation\Response- A Response instance
Returns
- Boolean
- true if the cache entry if fresh enough, false otherwise