intelligent-cache
Installation
SKILL.md
Intelligent Caching
Multi-layer caching with type-specific TTLs and get-or-generate pattern.
When to Use This Skill
- Different content types need different freshness
- Expensive generation (AI, aggregations)
- Need persistence across restarts
- Want to track generation time for optimization
Core Concepts
Production caching needs:
- Type-specific TTLs - Different content, different freshness
- Two-layer cache - Memory for speed, DB for persistence
- Get-or-generate - Single function handles everything
- Generation timing - Track for optimization