From ca3582705168d543d23c4d19b239a573304bc95a Mon Sep 17 00:00:00 2001 From: Ryan Mitchell Date: Tue, 3 Mar 2026 14:54:13 +0000 Subject: [PATCH] Can always clear term caches --- src/Actions/ClearCache.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Actions/ClearCache.php b/src/Actions/ClearCache.php index 42f13c6..e44d13a 100644 --- a/src/Actions/ClearCache.php +++ b/src/Actions/ClearCache.php @@ -43,6 +43,10 @@ public function visibleTo($item) return false; } + if ($item instanceof Term) { + return true; + } + return ! Blink::once( 'cache-action::'.$item->collectionHandle.'::'.$item->locale(), fn () => is_null($item->collection()->route($item->locale()))