Preparing for system design interviews?  Try bugzed.com →

express-cache-headers

JSON →
library 0.1.4 ·javascript
verified Jun 17, 2026

An Express middleware for setting response cache headers. Version 0.1.4 is the latest stable release. It allows you to control cache behavior per-route by providing options such as TTL (time-to-live), nocache, private, and mustrevalidate. Unlike more complex caching solutions like apicache or express-cache-ctrl, this package focuses solely on setting cache HTTP headers (Cache-Control, Pragma, Expires) with minimal configuration. It is lightweight and does not require a store, making it ideal for simple caching scenarios where only headers are needed.

total hits 12
actors 4 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
Script
1
Search engines
3

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany