Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
cache:pool:invalidate-tags
1 parent 15b275c commit 6ecb700Copy full SHA for 6ecb700
cache.rst
@@ -706,6 +706,28 @@ Clear all caches everywhere:
706
707
$ php bin/console cache:pool:clear cache.global_clearer
708
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
728
729
+ $ php bin/console cache:pool:invalidate-tags tag1 tag2 --pool=cache.app
730
731
Encrypting the Cache
732
--------------------
733
0 commit comments