ddd4j-javalin-cache
Installation
SKILL.md
ddd4j-javalin Cache
Overview
Covers Caffeine, local caches, distributed Cache, shared CAS, TTL, and idempotency uniformly. Confirm the maintenance line with ddd4j-javalin-version-selection first, then read the current branch source.
When to Use
- Selecting between Caffeine local caches and a distributed Cache with shared CAS for a ddd4j-javalin service on 6.7.x, 7.1.x, or 7.2.x.
- Deciding the idempotency backing: Caffeine explicitly as a single-instance/development fallback, shared CAS for multi-instance production.
- Configuring TTL, invalidation, and concurrency behavior for local providers, and lock contention/retry behavior for the distributed provider.
- Registering cache providers as lifecycle participants with explicit owners, readiness contribution where required, and idempotent close.
- Validating production behavior: real CAS contention, retries, and TTL re-acquisition against the shared backend — not a local fake.
When NOT to Use
Do not use this skill when: