Cache Components
go-zero offers both in-process and distributed caching to reduce database load and improve response times. Caches integrate automatically with database queries generated by goctl model.
Contents
Section titled “Contents”- Memory Cache — In-process LRU cache for hot data
- Redis Cache — Distributed Redis cache with automatic invalidation