diff --git a/app/Http/Controllers/Articles/ArticlesController.php b/app/Http/Controllers/Articles/ArticlesController.php index 7725cdfce..89db0caa8 100644 --- a/app/Http/Controllers/Articles/ArticlesController.php +++ b/app/Http/Controllers/Articles/ArticlesController.php @@ -79,13 +79,11 @@ public function show(Article $article) 404, ); - $trendingArticles = Cache::remember('trendingArticles', now()->addHour(), function () use ($article) { - return Article::published() - ->trending() - ->whereKeyNot($article->id) - ->limit(3) - ->get(); - }); + $trendingArticles = Article::published() + ->trending() + ->whereKeyNot($article->id) + ->limit(3) + ->get(); return view('articles.show', [ 'article' => $article,