Cache 缓存的源头
类方法:
expand_cache_key([:foo, :bar]) # => "foo/bar"
expand_cache_key([:foo, :bar], "namespace") # => "namespace/foo/bar"ActiveSupport::Cache.lookup_store(:memory_store)
# => 返回一个 ActiveSupport::Cache::MemoryStore 实例对象
ActiveSupport::Cache.lookup_store(:mem_cache_store)
# => 返回一个 ActiveSupport::Cache::MemCacheStore 实例对象Store
Local Cache (本地缓存)
Entry
最后更新于