You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Resources/doc/features/symfony-http-cache.rst
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,9 @@ making your kernel capable of providing the cache.
76
76
77
77
The recommended way to wire things up is to instantiate the cache kernel in the
78
78
kernel constructor to guarantee consistent setup over all entry points. Adjust
79
-
your kernel like this::
79
+
your kernel like this:
80
+
81
+
.. code-block:: php
80
82
81
83
// src/AppKernel.php
82
84
@@ -100,6 +102,8 @@ your kernel like this::
100
102
101
103
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:
0 commit comments