Add updateTTLOnGet argument to cache middleware to reset the TTL on cache payloads when fetched from cache
Why?
It is sometimes desired to keep items in cache for extended periods of time, longer than the typical TTL without refetching them after the first fetch.
Change
Add
updateTTLOnGet
argument to cache middleware to reset the TTL on cache payloads when fetched from cacheWhy?
It is sometimes desired to keep items in cache for extended periods of time, longer than the typical TTL without refetching them after the first fetch.
cc @nodkz