Preparing for system design interviews?  Try bugzed.com →

stale-lru-cache

JSON →
library 5.1.1 ·javascript
verified Jun 7, 2026

stale-lru-cache is an in-memory LRU cache for Node.js that implements stale-while-revalidate strategy, allowing cached items to be served stale while being refreshed in the background. Version 5.1.1 is the latest stable release. It supports custom Cache-Control headers for HTTP caching, max age, max size, and configurable item sizing. Key differentiators: fault-tolerant background revalidation that hides refresh latency, shields from revalidation errors, and optimizes hit-ratio by discarding least recently used items first.

total hits 14
actors 3 distinct systems
last hit 19d ago Amazonbot
GPTBot
3
Amazonbot
3
ByteDance
3
Humans
5

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇫🇷 France · 🇲🇽 Mexico