angelnikolov / ts-cacheable

Observable/Promise Cache Decorator
https://npmjs.com/package/ts-cacheable
ISC License
340 stars 42 forks source link

Added more global configurations #59

Closed angelnikolov closed 4 years ago

angelnikolov commented 4 years ago

Fixes #57 Based on the discussion in #57, we figured that it could be nice to extend the global cache config to allow for options like: maxAge, maxCacheCount and slidingExpiration @stnor please take a look

stnor commented 4 years ago

Looks good, thanks!