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,7 +7,9 @@ import { BLOG_HANDLE, HIDDEN_ARTICLE_TAG } from 'lib/constants';
import { getBlogArticle } from 'lib/shopify';
import { BlogArticle } from 'lib/shopify/types';
import Image from 'next/image';
export const runtime = 'edge';
export const revalidate = 300; // 5 minutes in seconds
export async function generateMetadata({
params