EsiResponseCacheStrategyInterface deprecated

EsiResponseCacheStrategyInterface deprecated

interface EsiResponseCacheStrategyInterface implements ResponseCacheStrategyInterface

deprecated

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

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
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部