Posts
0
Comments
1
Joined
8 mo. ago
- I want to cache content for 10 minutes, so I set it like this, right?
undefined
await cache.set(cacheKey, content, 600);
However, this method doesn’t work
- But the following method works, though I’m not sure how long the cache lasts:
undefined
await cache.set(cacheKey, content);
How does the default cache duration work, and why doesn’t the first method work?
Reply