Loading...
Loading...
Found 3 Skills
使用 Spring Cache 抽象实现缓存策略,支持多种缓存提供商(Redis、Caffeine、EhCache 等)。使用场景:(1) 减少数据库查询,(2) 提高 API 响应时间,(3) 实现读写缓存策略,(4) 配置缓存失效策略,(5) 实现多级缓存
Spring Cache abstraction for Spring Boot 3.x. Covers @Cacheable, @CacheEvict, @CachePut, cache managers (Caffeine, Redis, EhCache), TTL configuration, cache keys, conditional caching, and cache synchronization. USE WHEN: user mentions "spring cache", "@Cacheable", "@CacheEvict", "cache manager", "Caffeine cache", "@EnableCaching", "cache abstraction" DO NOT USE FOR: Redis operations - use `spring-data-redis` instead, distributed caching architecture - combine with `redis` skill
Instruction set for enabling and operating the Spring Cache abstraction in Spring Boot when implementing application-level caching for performance-sensitive workloads.