mirror of
https://github.com/charlienet/go-mixed.git
synced 2025-07-18 08:32:40 +08:00
更新redis
This commit is contained in:
5
cache/readme.md
vendored
5
cache/readme.md
vendored
@ -1,4 +1,7 @@
|
||||
# 多级缓存模块
|
||||
# 二级缓存模块
|
||||
|
||||
提供本地缓存和分布式缓存组合的缓存模块,可以只使用本地缓存或分布式缓存。并可全局禁用缓存。
|
||||
|
||||
|
||||
1. 一级缓存可使用freecache或bigcache作为本地缓存,当数据在本地缓存不存在时,会向二级缓存请求数据
|
||||
2. 二级缓存使用redis作为缓存模块,当数据在二级缓存不存在时向资源请求数据。
|
||||
|
Reference in New Issue
Block a user