class EsiResponseCacheStrategy in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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
- class \Symfony\Component\HttpKernel\HttpCache\ResponseCacheStrategy implements ResponseCacheStrategyInterface
- class \Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategy implements EsiResponseCacheStrategyInterface
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\HttpCacheView source
class EsiResponseCacheStrategy extends ResponseCacheStrategy implements EsiResponseCacheStrategyInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ResponseCacheStrategy:: |
private | property | ||
ResponseCacheStrategy:: |
private | property | ||
ResponseCacheStrategy:: |
private | property | ||
ResponseCacheStrategy:: |
private | property | ||
ResponseCacheStrategy:: |
public | function |
Adds a Response. Overrides ResponseCacheStrategyInterface:: |
|
ResponseCacheStrategy:: |
public | function |
Updates the Response HTTP headers based on the embedded Responses. Overrides ResponseCacheStrategyInterface:: |