auto-caching
OfficialMake caching predictable, fast, and safe.
Software Engineering#caching#observability#cache#ttl#cache-invalidations#stale-while-revalidate#single-flight
AuthorCorvalis-LLC
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Caching discipline improves performance and reliability by preventing stampedes, avoiding cached errors, ensuring proper invalidation, stale-while-revalidate, and observability.
Core Features & Use Cases
- Stampede protection (single-flight) ensures concurrent misses coalesce into a single fetch.
- Never cache errors; uses short negative cache and clear invalidation strategy.
- Invalidation strategy to ensure data freshness and predictable TTL.
- Stale-while-revalidate to serve data while refreshing in background.
- Observability with metrics for hits, misses, evictions, and fetch latency.
Quick Start
Implement a cache wrapper that prevents stampede, avoids caching errors, includes invalidation, and exposes observability for an API call.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: auto-caching Download link: https://github.com/Corvalis-LLC/Crow-Stack/archive/main.zip#auto-caching Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.