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:
krzysiej committed 2026-02-07 09:28:38 +01:00
1 parent 1303b4ad8a
commit 7e2658b174
17 files changed
+310 -485

No files matched your search

-3
View File
@@ -13,9 +13,6 @@ final class LowestPriceController extends BaseController
public function __invoke(): Response
{
$listType = 'lowest_price';
if($this->cache->getItem('lowest_price')->isHit()) {
return $this->render('productList.html.twig', ['listType' => $listType]);
}
$products = Product::whereRaw('priceCurrent = priceLowest')
->whereRaw('lastSeen = "'.now()->format('Y-m-d').'"')