You are here

public function Esi::createCacheStrategy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/HttpCache/Esi.php \Symfony\Component\HttpKernel\HttpCache\Esi::createCacheStrategy()

Returns a new cache strategy instance.

Return value

ResponseCacheStrategyInterface A ResponseCacheStrategyInterface instance

Overrides SurrogateInterface::createCacheStrategy

File

vendor/symfony/http-kernel/HttpCache/Esi.php, line 58

Class

Esi
Esi implements the ESI capabilities to Request and Response instances.

Namespace

Symfony\Component\HttpKernel\HttpCache

Code

public function createCacheStrategy() {
  return new ResponseCacheStrategy();
}