View Project
Presenting you Encache !
A lightweight JS package to help you setup inmemory Cache in less than 4 lines .
The project was developed as a rejuvenation on the old and deprecated node-cache library , provide a range of functionalities and advanced eviction policies . It currently provides 5 policies
FIFO
LRU
Lazy-TTL
NoEviction
Random eviction
Apart from this the cache provides a data compression service to improve the memory efficiency and management of the cache during excessive and high payloads.
The cache currently also provides access to a few cache metrics like
HitRatio
MissRatio
MemoryConsumption
I would love if you all can try it out and benchmark its performance ,point out various flaws (which undeniably could be there ), suggest improvements and thus grow together.
Built with