You are here

class EsiResponseCacheStrategy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/HttpCache/EsiResponseCacheStrategy.php \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>

Hierarchy

Expanded class hierarchy of EsiResponseCacheStrategy

Deprecated

since version 2.6, to be removed in 3.0. Use ResponseCacheStrategy instead

File

vendor/symfony/http-kernel/HttpCache/EsiResponseCacheStrategy.php, line 31

Namespace

Symfony\Component\HttpKernel\HttpCache
View source
class EsiResponseCacheStrategy extends ResponseCacheStrategy implements EsiResponseCacheStrategyInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
ResponseCacheStrategy::$cacheable private property
ResponseCacheStrategy::$embeddedResponses private property
ResponseCacheStrategy::$maxAges private property
ResponseCacheStrategy::$ttls private property
ResponseCacheStrategy::add public function Adds a Response. Overrides ResponseCacheStrategyInterface::add
ResponseCacheStrategy::update public function Updates the Response HTTP headers based on the embedded Responses. Overrides ResponseCacheStrategyInterface::update