Rule Performance

Cache Expensive Operations

Cache results of expensive computations and external API calls

performancecachingoptimization
CLAUDE.md

Cache the results of expensive computations and external API calls. Use in-memory caching for hot data, distributed caching for shared state. Always set a TTL and handle cache invalidation.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl