Staff Engineering Skills Cache Invalidation

Prevent stale data bugs caused by missing or incomplete cache invalidation. Use when adding caching layers (Redis, in-memory Map, CDN, HTTP cache headers), optimizing read performance, or reviewing code that caches query results, API responses, or computed values. Activates on patterns like cache.set without cache.delete on write paths, unbounded Map/object caches, TTL-only invalidation on security-sensitive data, Cache-Control headers on mutable content, or any caching where the write path doesn't invalidate the read cache.

triggerdotdev 1269bfd 9.5 KB Updated

File contents

triggerdotdev/staff-engineering-skills/tree/main/skills/staff-engineering-skills-cache-invalidation commit 1269bfdec8

Frequently asked questions

npx skillmds@latest add triggerdotdev/staff-engineering-skills-cache-invalidation