Skip to content

Commit

Permalink
Merge pull request #1802 from MushroomObserver/nimmo-reformat-logs-7.1.2
Browse files Browse the repository at this point in the history
More detailed cache_logging
  • Loading branch information
nimmolo committed Jan 13, 2024
2 parents 821a327 + 1fe1b22 commit 756e5e2
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 756e5e2

Please sign in to comment.