Skip to content

Commit

Permalink
Fix typo Esi in part create framework
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Dewez authored and wouterj committed Jul 28, 2015
1 parent 0134123 commit 43e06c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_framework/http-kernel-httpkernelinterface.rst
Expand Up @@ -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::
Expand All @@ -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:
Expand Down

0 comments on commit 43e06c3

Please sign in to comment.