EsiResponseCacheStrategy deprecated
class EsiResponseCacheStrategy extends ResponseCacheStrategy implements EsiResponseCacheStrategyInterface
deprecated
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.
Methods
Details
in ResponseCacheStrategy at line line 39
add(Response $response)
Adds a Response.
in ResponseCacheStrategy at line line 54
update(Response $response)
Updates the Response HTTP headers based on the embedded Responses.