We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent0134123 commit43e06c3Copy full SHA for 43e06c3
create_framework/http-kernel-httpkernelinterface.rst
@@ -153,7 +153,7 @@ sub-requests to convert them to their proper content::
153
$framework = new HttpKernel\HttpCache\HttpCache(
154
$framework,
155
new HttpKernel\HttpCache\Store(__DIR__.'/../cache'),
156
- new HttpKernel\HttpCache\ESI()
+ new HttpKernel\HttpCache\Esi()
157
);
158
159
..note::
@@ -166,7 +166,7 @@ When using complex HTTP caching strategies and/or many ESI include tags, it
166
can be hard to understand why and when a resource should be cached or not. To
167
ease debugging, you can enable the debug mode::
168
169
- $framework = new HttpCache($framework, new Store(__DIR__.'/../cache'), newESI(), array('debug' => true));
+ $framework = new HttpCache($framework, new Store(__DIR__.'/../cache'), newEsi(), array('debug' => true));
170
171
The debug mode adds a ``X-Symfony-Cache`` header to each response that
172
describes what the cache layer did: