Skip to content

Added a note about cache:clear and cache:pool:clear #8520

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 16, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion components/cache/cache_pools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,16 @@ when all items are successfully deleted)::
.. code-block:: terminal

$ php bin/console cache:pool:clear <cache-pool-name>

# 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