From 43e06c30050f94e059b5b15fba8dc865672ede77 Mon Sep 17 00:00:00 2001 From: Nicolas Dewez Date: Thu, 23 Jul 2015 13:53:47 +0200 Subject: [PATCH] Fix typo Esi in part create framework --- create_framework/http-kernel-httpkernelinterface.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_framework/http-kernel-httpkernelinterface.rst b/create_framework/http-kernel-httpkernelinterface.rst index e0a07731e36..6f8d6a8e994 100644 --- a/create_framework/http-kernel-httpkernelinterface.rst +++ b/create_framework/http-kernel-httpkernelinterface.rst @@ -153,7 +153,7 @@ sub-requests to convert them to their proper content:: $framework = new HttpKernel\HttpCache\HttpCache( $framework, new HttpKernel\HttpCache\Store(__DIR__.'/../cache'), - new HttpKernel\HttpCache\ESI() + new HttpKernel\HttpCache\Esi() ); .. note:: @@ -166,7 +166,7 @@ When using complex HTTP caching strategies and/or many ESI include tags, it can be hard to understand why and when a resource should be cached or not. To ease debugging, you can enable the debug mode:: - $framework = new HttpCache($framework, new Store(__DIR__.'/../cache'), new ESI(), array('debug' => true)); + $framework = new HttpCache($framework, new Store(__DIR__.'/../cache'), new Esi(), array('debug' => true)); The debug mode adds a ``X-Symfony-Cache`` header to each response that describes what the cache layer did: