Skip to content

Commit

Permalink
More detailed cache_logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed Jan 13, 2024
1 parent d6d5a1d commit 1fe1b22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 1fe1b22

Please sign in to comment.