We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15817ff commit 294ded8Copy full SHA for 294ded8
railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt
@@ -9,9 +9,11 @@ Rails.application.configure do
9
# Eager load code on boot for better performance and memory savings (ignored by Rake tasks).
10
config.eager_load = true
11
12
- # Full error reports are disabled and caching is turned on.
+ # Full error reports are disabled.
13
config.consider_all_requests_local = false
14
<%- unless options.api? -%>
15
+
16
+ # Turn on fragment caching in view templates.
17
config.action_controller.perform_caching = true
18
<%- end -%>
19
0 commit comments