File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -1506,11 +1506,24 @@ errors.
1506
1506
cache_dir
1507
1507
.........
1508
1508
1509
+ .. deprecated :: 7.1
1510
+
1511
+ Setting the ``cache_dir `` option is deprecated since Symfony 7.1. The routes
1512
+ are now always cached in the ``%kernel.build_dir% `` directory. If you want
1513
+ to disable route caching, set ``ignore_cache `` to ``true `` instead.
1514
+
1509
1515
**type **: ``string `` **default **: ``%kernel.cache_dir% ``
1510
1516
1511
1517
The directory where routing information will be cached. Can be set to
1512
1518
``~ `` (``null ``) to disable route caching.
1513
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
+
1514
1527
secrets
1515
1528
~~~~~~~
1516
1529
You can’t perform that action at this time.
0 commit comments