public function Esi::createCacheStrategy in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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();
}