Memcache Stats不使用Rails.cache.stats输出… Rails / Heroku

晚上好,

我正在尝试对Heroku上的Rails应用程序进行一些缓存测试,但Memcachier似乎没有很好地播放……

我可以从缓存中提取值没有问题,但统计数据并没有给我任何爱…

=> "42:Quotes:2012-04-16" irb(main):016:0> Rails.cache.exist?(str) => true irb(main):017:0> Rails.cache.read(str) => {"VCE.TO"=>24.76, "XIU.TO"=>17.19, "EWC"=>27.44} irb(main):018:0> Rails.cache.stats => {"mc1.ec2.memcachier.com:11211"=>{}} 

如果我可以从缓存中提取信息,那么统计数据中是否应该有一些数据? 我的gemfile中有以下内容:

 gem 'dalli' gem 'memcachier' 

以下是production.rb:

 config.action_controller.perform_caching = true config.cache_store = :dalli_store 

任何帮助将不胜感激 – 我可以根据需要发布更多细节!