Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategy
EsiResponseCacheStrategy knows how to compute the Response cache HTTP header based on the different ESI response cache headers.
This implementation changes the master response TTL to the smallest TTL received
or force validation if one of the ESI has validation cache strategy.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class EsiResponseCacheStrategy
implements
EsiResponseCacheStrategyInterface
{
- // members
- private $cacheable;
- private integer $embeddedResponses;
- private array $ttls;
- private array $maxAges;
Hierarchy
Members
private
- $cacheable
- $embeddedResponses
- $maxAges
- $ttls