cache-tags

JSON →
library 2.9.1 ·javascript
verified Jun 7, 2026

Cache Tags is an npm library (v2.9.1) that adds cache tagging for bulk invalidation, supporting Redis (single node and cluster) as the backend. It wraps the ioredis client to allow associating cache entries with tags, enabling listing entries by tag and invalidating all entries for a tag atomically. Inspired by Drupal 8 and Laravel cache tags, it has a low release cadence and is tested against Redis clusters. Key differentiators include simple tag-based get/set/invalidation and listing operations.