File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
railties/lib/rails/generators/rails/app/templates/config/environments Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ Rails.application.configure do
24
24
config.action_controller.perform_caching = true
25
25
config.action_controller.enable_fragment_cache_logging = true
26
26
<%- end -%>
27
- config.public_file_server.headers = { "Cache-Control " => "public, max-age=#{2.days.to_i}" }
27
+ config.public_file_server.headers = { "cache-control " => "public, max-age=#{2.days.to_i}" }
28
28
else
29
29
config.action_controller.perform_caching = false
30
30
end
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ Rails.application.configure do
15
15
# loading is working properly before deploying your code.
16
16
config.eager_load = ENV["CI"].present?
17
17
18
- # Configure public file server for tests with Cache-Control for performance.
19
- config.public_file_server.headers = { "Cache-Control " => "public, max-age=3600" }
18
+ # Configure public file server for tests with cache-control for performance.
19
+ config.public_file_server.headers = { "cache-control " => "public, max-age=3600" }
20
20
21
21
# Show full error reports and disable caching.
22
22
config.consider_all_requests_local = true
You can’t perform that action at this time.
0 commit comments