Loading app/Controllers/PageController.php +3 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,9 @@ class PageController extends BaseController public function index(): string { $cacheName = "page-{$this->page->slug}"; $locale = service('request') ->getLocale(); $cacheName = "page-{$this->page->slug}-{$locale}"; if (! ($found = cache($cacheName))) { $data = [ 'metatags' => get_page_metatags($this->page), Loading Loading
app/Controllers/PageController.php +3 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,9 @@ class PageController extends BaseController public function index(): string { $cacheName = "page-{$this->page->slug}"; $locale = service('request') ->getLocale(); $cacheName = "page-{$this->page->slug}-{$locale}"; if (! ($found = cache($cacheName))) { $data = [ 'metatags' => get_page_metatags($this->page), Loading