mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 00:53:37 +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: {
|
||||
createdAt: 'desc',
|
||||
},
|
||||
cacheStrategy: { ttl: 30, swr: 60 },
|
||||
});
|
||||
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue