TTL based on return value
Closed this issue · 1 comments
mdczaplicki commented
Hello, is it possible to set a TTL for a cached function based on it's return value?
I got a function that returns an object with a timestamp as an attribute, I'd like this cache to last until object's timestamp.
tkem commented
You mean a separate TTL for each item? No, that's currently not possible.