NoCache

Preview of Build a Key-Value LRU Cache Module in Node.js with Typescript

Build a Key-Value LRU Cache Module in Node.js with Typescript

Cyrus Kao

I created a simple key-value LRU (Least Recently Used) cache module for storing user sessions of this blog. And with the power of Javascript ES6 Map object, it's easy to implement a efficient cache system. In this guide we'll be building this module from scratch in Node.js with Typescript.