From c8cf4e65805ae0d089804f11486e15f06c07d32e Mon Sep 17 00:00:00 2001 From: Sol Irvine Date: Tue, 10 Oct 2023 08:15:50 +0900 Subject: [PATCH] Update homepage-products.tsx --- components/grid/homepage-products.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/grid/homepage-products.tsx b/components/grid/homepage-products.tsx index 1e1d2e6c1..f3c518d18 100644 --- a/components/grid/homepage-products.tsx +++ b/components/grid/homepage-products.tsx @@ -8,6 +8,9 @@ import Link from 'next/link'; import Label from '../label'; import { GridTileImage } from './tile'; +export const runtime = 'edge'; +export const revalidate = 300; // 5 minutes in seconds + function HomepageProductsItem({ item, priority }: { item: Product; priority?: boolean }) { const size = item?.variants?.[0]?.selectedOptions?.find((option) => option.name === 'Size'); const image = item?.variants?.[0]?.image;