We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9926b76 commit 47e0be0Copy full SHA for 47e0be0
reference/configuration/framework.rst
@@ -1511,6 +1511,19 @@ cache_dir
1511
The directory where routing information will be cached. Can be set to
1512
``~`` (``null``) to disable route caching.
1513
1514
+.. deprecated:: 7.1
1515
+
1516
+ Setting the ``cache_dir`` option is deprecated since Symfony 7.1. The routes
1517
+ are now always cached in the ``%kernel.build_dir%`` directory. If you want
1518
+ to disable route caching, set the ``ignore_cache`` option to ``true``.
1519
1520
+ignore_cache
1521
+............
1522
1523
+**type**: ``boolean`` **default**: ``false``
1524
1525
+When this option is set to ``true``, routing information will not be cached.
1526
1527
secrets
1528
~~~~~~~
1529
0 commit comments