spring-cache

Community

Speed up Spring apps with Redis caching.

Authorzenobiuszeto
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Legacy databases suffer latency and load on read-heavy banking operations. Production-grade caching with Redis, L2, and optional L1 (Caffeine) improves response times and reduces DB pressure for Java 21 / Spring Boot 3.x.

Core Features & Use Cases

  • TTL-based per-cache configuration, cache-aside pattern, and eviction policies to ensure freshness without stale reads.
  • Multi-level caching (L1 in-process with Caffeine plus L2 Redis) for ultra-fast access of hot data and scalable caching of shared data.
  • Transaction-aware cache writes and wiring with Spring Cache annotations (@Cacheable, @CachePut, @CacheEvict) to maintain consistency.
  • Use cases include caching account lookups, configuration data, and frequently accessed reference data across banking modules.

Quick Start

Configure a Redis-backed cache in a Spring Boot 3.3+ application and annotate services with @Cacheable, @CachePut, and @CacheEvict to see caching effects.

Dependency Matrix

Required Modules

None required

Components

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: spring-cache
Download link: https://github.com/zenobiuszeto/banking-strawman-capabilities/archive/main.zip#spring-cache

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.