From 11c68c483d39a1645b48bf62d61a9724f27b3a80 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 17 Oct 2017 16:36:17 +0200 Subject: [PATCH] Added a note about cache:clear and cache:pool:clear --- components/cache/cache_pools.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/cache/cache_pools.rst b/components/cache/cache_pools.rst index 751b645f80b..b28788d0d64 100644 --- a/components/cache/cache_pools.rst +++ b/components/cache/cache_pools.rst @@ -130,11 +130,16 @@ when all items are successfully deleted):: .. code-block:: terminal $ php bin/console cache:pool:clear - + # clears the "cache.app" pool $ php bin/console cache:pool:clear cache.app # clears the "cache.validation" and "cache.app" pool $ php bin/console cache:pool:clear cache.validation cache.app + .. versionadded:: 3.4 + Starting from Symfony 3.4, the ``cache:clear`` command no longer clears + the cache pools, so you must use the ``cache:pool:clear`` command to + delete them. + .. _`Doctrine Cache`: https://github.com/doctrine/cache