minus-squareduyanhstar@community.nodebb.orgtoNodeBB Development@community.nodebb.org•Caches used in NodeBBlinkfedilinkarrow-up1·1 day ago@baris 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 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? linkfedilink
@baris
await cache.set(cacheKey, content, 600);
However, this method doesn’t work
await cache.set(cacheKey, content);
How does the default cache duration work, and why doesn’t the first method work?