diff --git a/config/environments/production.rb b/config/environments/production.rb index c13a48b802..81d7806762 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -61,6 +61,9 @@ # Full error reports are disabled and caching is turned on. config.consider_all_requests_local = false config.action_controller.perform_caching = true + # debugging: check if cache is being hit + # (it should show [cache hit] even if set to false) + config.action_controller.enable_fragment_cache_logging = true # Enable Rack::Cache to put a simple HTTP cache in front of your application # Add `rack-cache` to your Gemfile before enabling this.