Prevent cache miss warnings with perform_caching on

吃可爱长大的小学妹 提交于 2019-12-06 15:32:47

Latest version of Dalli (after 2.0.3) might resolve this issue. See: https://github.com/mperham/dalli/issues/207

Mike's commit today added silence! method. You will need to set Rails.cache.silence! on your initializer for this take effect.

You can update your gemfile to fetch the latest Dalli code from Github or wait for next version of Dalli gem to be released.

It's a feature from rack-rache, you can disable rack-cache like this:

config.action_dispatch.rack_cache = false

Rails issue: https://github.com/rails/rails/issues/7581

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!