caching-strategy

Installation
SKILL.md

缓存策略(Caching Strategy)

参考来源:Martin Fowler《Patterns of Enterprise Application Architecture》Cache、Stripe / Netflix / Twitter 缓存实践、Redis 官方最佳实践、Spring Cache / NestJS Cache 文档。

适用场景

  • 高频读 / 低频写场景
  • 复杂查询结果缓存
  • 第三方 API 响应缓存
  • 会话 / 配置数据
  • 分布式锁 / 限流计数器
  • 验证码 / 短期 Token 存储

核心原则

1. 不为过早优化引入缓存
   先确认 DB 真的是瓶颈
Installs
2
GitHub Stars
36
First Seen
Jul 17, 2026
caching-strategy — zhaoxuya520/ai-fullstack-delivery-workflow