interface EsiResponseCacheStrategyInterface

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>

Hierarchy

Expanded class hierarchy of EsiResponseCacheStrategyInterface

All classes that implement EsiResponseCacheStrategyInterface

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategyInterface.php, line 26

Namespace

Symfony\Component\HttpKernel\HttpCache
View source
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);

}

Members

Namesort descending Modifiers Type Description Overrides
EsiResponseCacheStrategyInterface::add public function Adds a Response. 1
EsiResponseCacheStrategyInterface::update public function Updates the Response HTTP headers based on the embedded Responses. 1