sync-disk-cache

JSON →
library 2.1.0 ·javascript maintenance
verified Jun 7, 2026

A synchronous disk-based cache library for Node.js (v2.1.0, last updated in 2018). It stores cached values as files in a temporary directory (defaulting to TMPDIR/<username>). Supports optional gzip/deflate compression. Primarily used in build toolchains (e.g., Ember CLI) for caching intermediate results. Unlike its async sibling (async-disk-cache), this library uses blocking I/O, making it unsuitable for production servers but convenient for scripts and build tools.