File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -706,6 +706,28 @@ Clear all caches everywhere:
706706
707707 $ php bin/console cache:pool:clear cache.global_clearer
708708
709+ Invalidate Tags Command
710+ ~~~~~~~~~~~~~~~~~~~~~~~
711+
712+ .. versionadded :: 6.1
713+
714+ The ``cache:pool:invalidate-tags `` command was introduced in 6.1.
715+
716+ If using cache tags, you can invalidate tags via the
717+ ``cache:pool:invalidate-tags `` command.
718+
719+ Invalidate ``tag1 `` and ``tag2 `` from all pools:
720+
721+ .. code-block :: terminal
722+
723+ $ php bin/console cache:pool:invalidate-tags tag1 tag2
724+
725+ Invalidate ``tag1 `` and ``tag2 `` from ``cache.app `` pool:
726+
727+ .. code-block :: terminal
728+
729+ $ php bin/console cache:pool:invalidate-tags tag1 tag2 --pool=cache.app
730+
709731 Encrypting the Cache
710732--------------------
711733
You can’t perform that action at this time.
0 commit comments