From fb312c051b189b2a119a466835ea29287640a2c2 Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Fri, 5 May 2023 10:55:49 +0100 Subject: [PATCH] Tweak cache control for function --- api/[domain]/fursona.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/[domain]/fursona.ts b/api/[domain]/fursona.ts index e7341c7..8d57613 100644 --- a/api/[domain]/fursona.ts +++ b/api/[domain]/fursona.ts @@ -32,7 +32,7 @@ export default async (request: NextRequest) => { return new Response(JSON.stringify(data), { headers: { 'content-type': 'application/json', - 'cache-control': 'public, s-maxage=3600, stale-while-revalidate=600', + 'cache-control': 'public, max-age=600, stale-while-revalidate=1200', }, }); }; \ No newline at end of file