Closed aalexgabi closed 6 years ago
For example I want to keep a cache that avoids executing a db query but I want that the cache is still available if db is down.
The idea is that sometimes is desirable to have an older value instead of failing.
@aalexgabi it is planned to be provided with v1.
See description of invalidationSpan option at ttl section in https://github.com/medikoo/memoizee/issues/73
invalidationSpan
ttl
@medikoo Thank you.
For example I want to keep a cache that avoids executing a db query but I want that the cache is still available if db is down.
The idea is that sometimes is desirable to have an older value instead of failing.