chore(website): Increase cache revalidation to 1 hour (#7258)

Why:

Reduces the number of edge functions that need to run, and thus reducing
the likelihood this endpoint will timeout due to slow edge function
startup.
This commit is contained in:
Jamil
2024-11-04 10:32:43 -08:00
committed by GitHub
parent 2825522844
commit bc46d95350

View File

@@ -4,8 +4,8 @@ import { get } from "@vercel/edge-config";
// Cache responses
export const dynamic = "force-static";
// Revalidate cache every 60 seconds
export const revalidate = 60;
// Revalidate cache at most every hour
export const revalidate = 3600;
export async function GET(_req: NextRequest) {
const versions = {