Skip to content

Commit 34106ab

Browse files
added link to the http cache documentation
1 parent 9dccb18 commit 34106ab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Resources/doc/features/symfony-http-cache.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Event Dispatching HttpCache
2626
~~~~~~~~~~~~~~~~~~~~~~~~~~~
2727

2828
You need to adjust your ``AppCache`` to support event handling and register the
29-
cache event listeners for the functionality you want to use.
29+
cache event listeners for the functionality you want to use.git st
3030

3131
To adjust your cache kernel, follow the instructions in the :ref:`FOSHttpCache Symfony Cache documentation section <foshttpcache:symfony httpcache configuration>`.
3232

@@ -98,8 +98,7 @@ your kernel like this::
9898
}
9999
}
100100

101-
Now you need to adjust your front controller to use that cache instance rather
102-
than creating one::
101+
Now you need to adjust your front controller (that you set up according to the `Symfony HttpCache documentation_`) to use that cache instance rather than creating one::
103102

104103
// public/index.php
105104

@@ -112,6 +111,8 @@ than creating one::
112111
$kernel = $kernel->getHttpCache();
113112
}
114113

114+
// ...
115+
115116
.. warning::
116117

117118
If you do not want to instantiate the cache kernel in your kernel

0 commit comments

Comments
 (0)