What problem does it solve? Adding a cache without clear rules produces stale data, cross-tenant leaks, and outages when the cache fails. This Skill provides correctness-first design rules for server-side caching in Java 21+ Spring Boot projects, covering staleness budgets, key identity, invalidation ordering, and failure handling. ## Core Features & Use Cases - Cache design rules: Defines the cache register, staleness budgets, TTL selection, key identity (tenant and subject), negative caching, stampede protection, and warmup strategy. - Invalidation and consistency: Enforces after-commit eviction, distributed invalidation across instances, namespace versioning for shape changes, and rolling-deploy safety. - Technology and topology guidance: Provides a property checklist for choosing local, distributed, or near-cache topologies (Caffeine, Redis, Hazelcast, and others) plus rules for the Hibernate second-level and query caches. - Use Case: When adding a @Cacheable product lookup to a multi-tenant Spring Boot service, use this Skill to derive the correct key, set a TTL within the staleness budget, and wire after-commit eviction instead of a transactional @CacheEvict. ## Quick Start Ask the AI to review or design a Spring Boot cache for a specific read path, including its key, TTL, and invalidation trigger.