Skip to content

Commit

Permalink
[FrameworkBundle] Update cache_dir config
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Devos <4972091+Okhoshi@users.noreply.github.com>
  • Loading branch information
Okhoshi committed Jan 9, 2024
1 parent 9926b76 commit 47e0be0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,19 @@ cache_dir
The directory where routing information will be cached. Can be set to
``~`` (``null``) to disable route caching.

.. deprecated:: 7.1

Setting the ``cache_dir`` option is deprecated since Symfony 7.1. The routes
are now always cached in the ``%kernel.build_dir%`` directory. If you want
to disable route caching, set the ``ignore_cache`` option to ``true``.

ignore_cache
............

**type**: ``boolean`` **default**: ``false``

When this option is set to ``true``, routing information will not be cached.

secrets
~~~~~~~

Expand Down

0 comments on commit 47e0be0

Please sign in to comment.