This commit is contained in:
F4ilji
2026-04-10 10:51:42 +05:00
parent 9e35cf848d
commit 5eb5a7bc06
7 changed files with 174 additions and 39 deletions
+5
View File
@@ -29,6 +29,11 @@ class PageObserver
public function updated(Page $page): void
{
$this->pageCacheService->clearAllCacheByModel();
// Clear navigation cache if sort order changed
if ($page->isDirty('sort')) {
Cache::forget('navigation');
}
}
/**