caching
Installation
SKILL.md
Caching
Use this skill when endpoints need read-performance improvements and predictable cache behavior.
Workflow
- Identify idempotent read endpoints (
GET) suitable for caching. - Enable route-level caching with finite TTL.
- Add a stable cache-key strategy when request context affects output.
- Verify invalidation expectations against write endpoints.
Core Pattern
from litestar import get