EsiResponseCacheStrategyInterface implementations know how to compute the Response cache HTTP header based on the different ESI response cache headers.
@author Fabien Potencier <fabien@symfony.com>
Expanded class hierarchy of EsiResponseCacheStrategyInterface
All classes that implement EsiResponseCacheStrategyInterface
interface EsiResponseCacheStrategyInterface {
/**
* Adds a Response.
*
* @param Response $response
*/
public function add(Response $response);
/**
* Updates the Response HTTP headers based on the embedded Responses.
*
* @param Response $response
*/
public function update(Response $response);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EsiResponseCacheStrategyInterface:: |
public | function | Adds a Response. | 1 |
EsiResponseCacheStrategyInterface:: |
public | function | Updates the Response HTTP headers based on the embedded Responses. | 1 |