Added Caching to Activity page

This commit is contained in:
Ahmad 2024-04-16 19:15:52 -04:00
parent d5be2cdb29
commit 916473dbe0
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF

View file

@ -17,6 +17,7 @@ export const ActivityList = async () => {
orderBy: { orderBy: {
createdAt: 'desc', createdAt: 'desc',
}, },
cacheStrategy: { ttl: 30, swr: 60 },
}); });
return ( return (