Interface

Symfony\Component\HttpKernel\HttpCache\EsiResponseCacheStrategyInterface

interface EsiResponseCacheStrategyInterface

EsiResponseCacheStrategyInterface implementations know how to compute the Response cache HTTP header based on the different ESI response cache headers.

Methods

add(Response $response)

Adds a Response.

update(Response $response)

Updates the Response HTTP headers based on the embedded Responses.

Details

at line 33
public add(Response $response)

Adds a Response.

Parameters

Response $response

at line 40
public update(Response $response)

Updates the Response HTTP headers based on the embedded Responses.

Parameters

Response $response