Skip to content

Releases: kibertoad/toad-cache

3.3.1

29 Nov 23:29
Compare
Choose a tag to compare
  • fix: do not bump entry if there is only one entry (#33)

3.1.0

20 May 17:56
Compare
Choose a tag to compare
  • Add support for cache statistics (hit/miss/expired) (#11)

3.0.0

09 Apr 13:49
Compare
Choose a tag to compare
  • Get rid of constructor wrapper (#5)
  • Cache instances are created using new keyword now, and full classes are exported instead of just a factory function.
  • Now both Map-based and Object-based caches are symmetrically exported.

See benchmarks for how the two compare:

https://github.com/kibertoad/nodejs-benchmark-tournament/blob/master/cache-get-inmemory/_results/results.md
https://github.com/kibertoad/nodejs-benchmark-tournament/blob/master/cache-set-inmemory/_results/results.md

2.1.0

08 Apr 14:16
Compare
Choose a tag to compare
  • Support object-backed caches both for FIFO and LRU.