Skip to content

Commit 8e24122

Browse files
committed
Tweaks
1 parent c314c7d commit 8e24122

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

http_cache.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ but it is a great way to start.
7777

7878
For details on setting up Varnish, see :doc:`/http_cache/varnish`.
7979

80-
To enable the proxy for the ``prod`` env, enable the ``framework.http_cache`` setting:
80+
Use the ``framework.http_cache`` option to enable the proxy for the
81+
:ref:`prod environment <configuration-environments>`:
8182

8283
.. configuration-block::
8384

@@ -103,12 +104,12 @@ The kernel will immediately act as a reverse proxy: caching responses
103104
from your application and returning them to the client.
104105

105106
The proxy has a sensible default configuration, but it can be
106-
finely tuned via `a set of options<configuration-framework-http_cache>`.
107+
finely tuned via `a set of options <configuration-framework-http_cache>`.
107108

108-
When in debug mode, Symfony automatically adds an ``X-Symfony-Cache``
109-
header to the response. You can also use the ``trace_level`` config
110-
option and set it to either ``none``, ``short`` or ``full`` to
111-
add this information.
109+
When in :ref:`debug mode <debug-mode>`, Symfony automatically adds an
110+
``X-Symfony-Cache`` header to the response. You can also use the ``trace_level``
111+
config option and set it to either ``none``, ``short`` or ``full`` to add this
112+
information.
112113

113114
``short`` will add the information for the main request only.
114115
It's written in a concise way that makes it easy to record the

0 commit comments

Comments
 (0)