mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user