Started Migration to Fluid-Tailwind and Misc Fixes

This commit is contained in:
Ahmad 2024-12-23 15:54:45 -05:00
parent a9bd470c68
commit 9e4ef90d73
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
9 changed files with 21 additions and 18 deletions

View file

@ -32,6 +32,10 @@ export async function GET(
},
},
},
cacheStrategy: {
ttl: 30,
swr: 60,
},
});
return new NextResponse(JSON.stringify(card), {
@ -39,7 +43,7 @@ export async function GET(
headers: {
'Cache-Control': 'public, s-maxage=1',
'CDN-Cache-Control': 'public, s-maxage=60',
'Vercel-CDN-Cache-Control': 'public, s-maxage=3600',
'Vercel-CDN-Cache-Control': 'public, s-maxage=120',
},
});
} catch (error) {