From 1302edf3e53a2322e3496588c0c06e7e882d3cc6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 13 Jan 2015 08:03:48 -0800 Subject: Stop promoting rack-cache usage at the moment (not so common or important to deserve that billing) --- .../rails/app/templates/config/environments/production.rb.tt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index fec7e86709..75666d20c5 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -14,12 +14,6 @@ Rails.application.configure do config.consider_all_requests_local = false config.action_controller.perform_caching = true - # Enable Rack::Cache to put a simple HTTP cache in front of your application - # Add `rack-cache` to your Gemfile before enabling this. - # For large-scale production use, consider using a caching reverse proxy like - # NGINX, varnish or squid. - # config.action_dispatch.rack_cache = true - # Disable serving static files from the `/public` folder by default since # Apache or NGINX already handles this. config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present? -- cgit v1.2.3