diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2015-01-13 08:03:48 -0800 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2015-01-13 08:03:48 -0800 |
commit | 1302edf3e53a2322e3496588c0c06e7e882d3cc6 (patch) | |
tree | 36216b7ffb8e679979adde3327889d510af2b5e6 | |
parent | 646349511eed8155e3033f4c7b50b08855a9a7d5 (diff) | |
download | rails-1302edf3e53a2322e3496588c0c06e7e882d3cc6.tar.gz rails-1302edf3e53a2322e3496588c0c06e7e882d3cc6.tar.bz2 rails-1302edf3e53a2322e3496588c0c06e7e882d3cc6.zip |
Stop promoting rack-cache usage at the moment (not so common or important to deserve that billing)
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt | 6 |
1 files changed, 0 insertions, 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? |