duyanhstar

joined 8 months ago

@baris

  1. I want to cache content for 10 minutes, so I set it like this, right?
await cache.set(cacheKey, content, 600);

However, this method doesn’t work

  1. But the following method works, though I’m not sure how long the cache lasts:
await cache.set(cacheKey, content);

How does the default cache duration work, and why doesn’t the first method work?