node-cache icon indicating copy to clipboard operation
node-cache copied to clipboard

[Feature Addition]Hits Cache

Open LRagji opened this issue 6 years ago • 0 comments

Added a new dimension for cache content expiry which evicts content based on number of hits. Simply put every fetch call adds time to the expiry of the content, cause of which that content stays longer time in the cache compared to other.

  • Designed it as a wrapper
  • Test cases are coverage is not impacted.
  • Fixed npm audit dependencies
  • Version bumped to 0.3.0

Thanks Laukik

LRagji avatar Dec 30 '19 15:12 LRagji