public function Esi::createCacheStrategy in Zircon Profile 8
Same name and namespace in other branches
- 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\HttpCacheCode
public function createCacheStrategy() {
return new ResponseCacheStrategy();
}