add revalidation timeframes

This commit is contained in:
Sol Irvine
2023-10-08 21:20:35 +09:00
parent 787d7e7912
commit 1d83ea4042
16 changed files with 23 additions and 6 deletions

View File

@@ -7,6 +7,7 @@ import ProductGridItems from 'components/layout/product-grid-items';
import { defaultSort, sorting } from 'lib/constants';
export const runtime = 'edge';
export const revalidate = 300; // 5 minutes in seconds
export async function generateMetadata({
params