redis-cache
Installation
SKILL.md
Redis Caching
Overview
Redis provides in-memory caching to improve application performance and reduce database load. This skill should be invoked when implementing caching for frequently accessed data, session storage, or rate limiting.
Core Principles
- Cache Strategy: Choose write-through, write-behind, or look-aside
- TTL: Set appropriate time-to-live for cached data
- Invalidation: Handle cache invalidation properly
- Patterns: Use Redis data structures effectively
Preparation Checklist
- Set up Redis server
- Choose client library
- Plan cache strategy
- Define cache keys