EsiResponseCacheStrategyInterface deprecated
interface EsiResponseCacheStrategyInterface implements ResponseCacheStrategyInterface
deprecated
ResponseCacheStrategyInterface implementations know how to compute the Response cache HTTP header based on the different response cache headers.
Methods
add(Response $response) Adds a Response. | from ResponseCacheStrategyInterface | |
update(Response $response) Updates the Response HTTP headers based on the embedded Responses. | from ResponseCacheStrategyInterface |
Details
add(Response $response)
Adds a Response.
Parameters
Response | $response |
update(Response $response)
Updates the Response HTTP headers based on the embedded Responses.
Parameters
Response | $response |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategyInterface.html