mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 09:03:36 +00:00
Added Caching to Activity page
This commit is contained in:
parent
d5be2cdb29
commit
916473dbe0
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ export const ActivityList = async () => {
|
||||||
orderBy: {
|
orderBy: {
|
||||||
createdAt: 'desc',
|
createdAt: 'desc',
|
||||||
},
|
},
|
||||||
|
cacheStrategy: { ttl: 30, swr: 60 },
|
||||||
});
|
});
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue