IdentityCache 是一个用于插入 Active Record 的 Blob 级缓存解决方案。不要使用 #find 和 #fetch!
IdentityCache 是一个用于插入 Active Record 的 Blob 级缓存解决方案。不要使用 #find 和 #fetch!
将以下内容添加到所有环境下的 *.rb 文件(生产/开发/测试):
config.identity_cache_store = :mem_cache_store, "mem1.server.com", "mem2.server.com", {
expires_in: 6.hours.to_i, # in case of network errors when sending a cache invalidation
failover: false, # avoids more cache consistency issues
}暂无开放 Issues,或尚未同步最近议题。