Questions tagged «dalli»

3
Rails.cache.clear某些键名?
是否有可能以某种方式运行Rails.cache.clear并且仅清除具有特定名称/字符串的键? 我不想清除整个缓存...只是用钥匙串blog/post的名称(即blog/post/1,blog/post/2)。 我正在使用带有memcached的dalli作为我的缓存并运行Rails 3.0.6。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.