mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-02 03:39:38 +00:00
Started Migration to Fluid-Tailwind and Misc Fixes
This commit is contained in:
parent
a9bd470c68
commit
9e4ef90d73
9 changed files with 21 additions and 18 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue