When using a memory store, having a single resetTime for all keys is fine.
When using a custom store (with something like Redis), resetTime should not be stored in memory, allowing to get the value using a function (ex. using per-key value or global value).
As a workaround, I'm using headers: false with resetTime = 0
When using a memory store, having a single resetTime for all keys is fine. When using a custom store (with something like Redis), resetTime should not be stored in memory, allowing to get the value using a function (ex. using per-key value or global value).
As a workaround, I'm using
headers: false
withresetTime = 0