implementing-query-caching
CommunityAdd Redis-backed caching to Prisma queries.
Authordjankies
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill guides implementing a caching layer for Prisma queries using Redis, including cache key design, invalidation, and TTL strategies.
Core Features & Use Cases
- Cache Layer: Wrap Prisma queries with a Redis cache.
- Invalidation: Invalidate on mutations to keep data fresh.
- TTL Tuning: Different TTLs per data type for performance.
Quick Start
Introduce a cache wrapper around a read query, store results in Redis, and invalidate on write.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: implementing-query-caching Download link: https://github.com/djankies/claude-configs/archive/main.zip#implementing-query-caching Please download this .zip file, extract it, and install it in the .claude/skills/ directory.