mirror of
https://github.com/vercel/commerce.git
synced 2025-07-24 10:41:23 +00:00
add revalidation timeframes
This commit is contained in:
@@ -10,6 +10,8 @@ import { cookies } from 'next/headers';
|
||||
import { Suspense } from 'react';
|
||||
|
||||
export const runtime = 'edge';
|
||||
export const revalidate = 300; // 5 minutes in seconds
|
||||
|
||||
const { SITE_NAME } = process.env;
|
||||
|
||||
export const metadata = {
|
||||
|
Reference in New Issue
Block a user