Skip to content

Commit 7d202b7

Browse files
committed
feature #8520 Added a note about cache:clear and cache:pool:clear (javiereguiluz)
This PR was merged into the 3.4 branch. Discussion ---------- Added a note about cache:clear and cache:pool:clear This fixes #8445. Commits ------- 11c68c4 Added a note about cache:clear and cache:pool:clear
2 parents 8080230 + 11c68c4 commit 7d202b7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/cache/cache_pools.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,16 @@ when all items are successfully deleted)::
130130
.. code-block:: terminal
131131
132132
$ php bin/console cache:pool:clear <cache-pool-name>
133-
133+
134134
# clears the "cache.app" pool
135135
$ php bin/console cache:pool:clear cache.app
136136
137137
# clears the "cache.validation" and "cache.app" pool
138138
$ php bin/console cache:pool:clear cache.validation cache.app
139139
140+
.. versionadded:: 3.4
141+
Starting from Symfony 3.4, the ``cache:clear`` command no longer clears
142+
the cache pools, so you must use the ``cache:pool:clear`` command to
143+
delete them.
144+
140145
.. _`Doctrine Cache`: https://github.com/doctrine/cache

0 commit comments

Comments
 (0)