Skip to content

Commit d3dd9de

Browse files
committed
ensured MiniProfiler doesn't prevent caching in production
1 parent 4e130f6 commit d3dd9de

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

config/environments/production.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Full error reports are disabled and caching is turned on.
1717
config.consider_all_requests_local = false
1818
config.action_controller.perform_caching = true
19+
Rack::MiniProfiler.config.disable_caching = false
1920

2021
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
2122
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).

0 commit comments

Comments
 (0)