From f3f9e0702d22e256d20f21af27f6d269c801aa33 Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sat, 5 Aug 2023 23:29:41 -0400 Subject: [PATCH] Expand docs for cache clear_group command. --- en/appendices/4-5-migration-guide.rst | 3 +++ en/core-libraries/caching.rst | 3 +++ 2 files changed, 6 insertions(+) diff --git a/en/appendices/4-5-migration-guide.rst b/en/appendices/4-5-migration-guide.rst index 256b589030..1a655916ba 100644 --- a/en/appendices/4-5-migration-guide.rst +++ b/en/appendices/4-5-migration-guide.rst @@ -122,6 +122,9 @@ Console - ``ConsoleOptionParser`` now treats all input after a ``--`` as positional arguments. This allows console commands to accept positional arguments that begin with a ``-`` such as date values like ``-1 day``. +- ``bin/cake cache clear_group `` was added. This command gives a CLI + interface to clearing a specific cache group. See :ref:`cache-groups` for how + to use cache groups. Controller ---------- diff --git a/en/core-libraries/caching.rst b/en/core-libraries/caching.rst index a2bb023eb4..97aa15fd7e 100644 --- a/en/core-libraries/caching.rst +++ b/en/core-libraries/caching.rst @@ -488,6 +488,9 @@ A perfect example of this are the results from results using the ``cache()`` method. See the :ref:`caching-query-results` section for more information. + +.. _cache-groups: + Using Groups ============