Upgrade symfony from 7 to 8. Remove cache since it is now faster to open website.
This commit was merged in pull request #62.
This commit is contained in:
@@ -11,9 +11,6 @@ final class IndexController extends BaseController
|
||||
#[Route('/', name: 'app_home')]
|
||||
public function __invoke(): Response
|
||||
{
|
||||
if ($this->cache->getItem('list_all')->isHit()) {
|
||||
return $this->render('productList.html.twig', ['listType' => 'all']);
|
||||
}
|
||||
$products = Product::orderByDesc('starred')
|
||||
->orderByDesc('created_by')
|
||||
->get();
|
||||
|
||||
Reference in New Issue
Block a user