etag-cache-leveldb

JSON →
library 2.1.17 ·javascript
verified Jun 7, 2026

A persistent HTTP ETag cache backed by LevelDB for Node.js. Current stable version is 2.1.17. It uses levelup and leveldown (or any abstract-leveldown-compatible store) to persist ETags and response bodies, enabling conditional requests (If-None-Match) and caching of fetch responses. It reconstructs Response-like objects when a cached entry matches. Key differentiators: direct integration with fetch API responses, simple key-value design (URL→ETag and ETag→body), and support for custom LevelDB instances. Release cadence is irregular as a side project.