express-cache-headers
JSON →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.
Traffic · last 30 days ↓33% vs prev 7d
total hits 14
actors 5 distinct systems
last hit 1d ago Bingbot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇬🇧 United Kingdom · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/express-cache-headers
compatibility /v1/registry/express-cache-headers/compatibility