Fix that caching should be disabled in dev by default. References 3cf841d463.
This commit is contained in:
@@ -26,7 +26,7 @@ Rails.application.configure do
|
||||
config.cache_store = :memory_store
|
||||
config.public_file_server.headers = { "Cache-Control" => "public, max-age=#{2.days.to_i}" }
|
||||
else
|
||||
config.action_controller.perform_caching = true
|
||||
config.action_controller.perform_caching = false
|
||||
|
||||
config.cache_store = :null_store
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user