mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-24 00:32:14 +01:00
[Cache] Document cache:pool:clear’s new --exclude option
This commit is contained in:
10
cache.rst
10
cache.rst
@@ -740,6 +740,16 @@ Clear all cache pools:
|
||||
|
||||
The ``--all`` option was introduced in Symfony 6.3.
|
||||
|
||||
Clear all cache pools except some:
|
||||
|
||||
.. code-block:: terminal
|
||||
|
||||
$ php bin/console cache:pool:clear --all --exclude=my_cache_pool --exclude=another_cache_pool
|
||||
|
||||
.. versionadded:: 6.4
|
||||
|
||||
The ``--exclude`` option was introduced in Symfony 6.4.
|
||||
|
||||
Clear all caches everywhere:
|
||||
|
||||
.. code-block:: terminal
|
||||
|
||||
Reference in New Issue
Block a user