Skip to content

Commit 16b43c3

Browse files
authored
update cache manager doc
1 parent eacce6e commit 16b43c3

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Resources/doc/reference/configuration/cache-manager.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ specify the ``custom_proxy_client`` field.
1010
# app/config/config.yml
1111
fos_http_cache:
1212
cache_manager:
13-
enabled: true
14-
custom_proxy_client: ~
15-
generate_url_type: true
13+
enabled: auto
1614
1715
``enabled``
1816
-----------
@@ -53,3 +51,10 @@ and ``refreshRoute()`` calls. If you use ``ABSOLUTE_PATH`` to only generate
5351
paths, you need to configure the ``base_url`` on the proxy client. When set to
5452
``auto``, the value is determined based on whether ``base_url`` is set on the
5553
default proxy client.
54+
55+
.. code-block:: yaml
56+
57+
# app/config/config.yml
58+
fos_http_cache:
59+
cache_manager:
60+
generate_url_type: !php/const Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_PATH

0 commit comments

Comments
 (0)