sycore0

Results 2 comments of sycore0

i don't see why you couldn't use a function's output when setting the cache time

something like ``` const dynamicTime = () => { // ...criteria } app.use(cache( dynamicTime() )) // or with redis app.get('/will-be-cached', cacheWithRedis( dynamicTime() ), (req, res) => { res.json({ success: true...