This commit is contained in:
f4ilji
2025-01-14 00:29:13 +05:00
parent dc33607de7
commit 45e73e27a0
7 changed files with 114 additions and 19 deletions
+3 -1
View File
@@ -12,7 +12,7 @@ class PageObserver
*/
public function created(Page $page): void
{
//
Cache::forget('navigation');
}
/**
@@ -22,6 +22,7 @@ class PageObserver
{
$cacheKey = 'page_' . md5($page->path);
Cache::forget($cacheKey);
Cache::forget('navigation');
}
/**
@@ -31,6 +32,7 @@ class PageObserver
{
$cacheKey = 'page_' . md5($page->path);
Cache::forget($cacheKey);
Cache::forget('navigation');
}
/**