我正在使用Rails.cache
进行缓存
config.action_controller.perform_caching = true
config.cache_store = :file_store, "location"
如何检查是否存在缓存未命中?
此外,我无法在日志中看到缓存未命中信息。
谢谢
若要获取有关缓存事件的实用通知,请查看ActiveSupport::Notifications
以订阅缓存事件。