diff --git a/src/pages/api/detect/[domain].ts b/src/pages/api/detect/[domain].ts index 413e4c5..1e8cb9c 100644 --- a/src/pages/api/detect/[domain].ts +++ b/src/pages/api/detect/[domain].ts @@ -116,7 +116,7 @@ export const get: APIRoute = async ({ params }) => { { status: 200, headers: { - "Cache-Control": "s-maxage=86400, max-age=86400, public", + "Cache-Control": "public, s-maxage=86400, max-age=604800", "Content-Type": "application/json", }, }, diff --git a/src/pages/api/instances.ts b/src/pages/api/instances.ts index 3fd07c4..ecc3b01 100644 --- a/src/pages/api/instances.ts +++ b/src/pages/api/instances.ts @@ -57,7 +57,7 @@ export const get: APIRoute = async () => { ), { headers: { - "Cache-Control": "s-maxage=86400, max-age=86400, public", + "Cache-Control": "public, s-maxage=86400, max-age=604800", "Content-Type": "application/json", }, },