An efficient in-memory FIFO cache with a fixed TTL for Node.js projects, designed to automatically remove outdated records. Unlike widely used LRU caches, FIFO caches do not prioritize retaining popular keys for extended durations. This simplified approach reduces overhead and typically delivers faster response times.
nodejs typescript ts in-memory node-js ttl time-to-live fifo-cache ttl-cache first-in-first-out es2020 js-map fifo-ttl-cache fixed-ttl short-term-key-popularity key-freshness
-
Updated
Jan 7, 2025 - TypeScript