What problem does it solve? Node.js services that query the database on every request suffer from unnecessary load and slow response times. This Skill provides a complete pattern for adding Redis caching to a Fastify application, covering connection setup, cache-aside reads, TTL strategies, and safe invalidation on mutations. ## Core Features & Use Cases - Redis Fastify Plugin: Register a single shared ioredis connection as a Fastify decorator with retry strategy, error logging, and graceful shutdown. - Typed Cache Helper: A namespaced cache utility with get, set, del, SCAN-based pattern deletion, and a getOrSet method implementing cache-aside in one call. - TTL & Key Design Guidance: Recommended TTLs per resource type (single resource, lists, sessions, config) and predictable namespaced key patterns. - Use Case: An orders service caches getById lookups for 5 minutes, caches filtered list queries for 1 minute, and invalidates the cache entry after every update or delete so stale data is never served. ## Quick Start Add Redis caching to my Fastify order service using ioredis with the cache-aside pattern and proper TTLs.