-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Added docs for the cache:pool:clear command #7206
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
Conversation
Should we mention that the command allows to clear multiple cache pools at once? |
components/cache/cache_pools.rst
Outdated
|
||
.. code-block:: terminal | ||
|
||
$ ./bin/console cache:pool:clear <cache-pool-name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be php bin/console cache:pool:clear <cache-pool-name>
(this is the only Windows and Unix compatible command)
components/cache/cache_pools.rst
Outdated
|
||
.. code-block:: terminal | ||
|
||
$ ./bin/console cache:pool:clear <cache-pool-name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use comments to document other usages (IIRC, we do it in other places as well):
# 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
Thank you @javiereguiluz. |
This fixes #7173.