Skip to content

Commit

Permalink
disable caching that will be handled by nginx and mod_pagespeed
Browse files Browse the repository at this point in the history
  • Loading branch information
saizai committed Mar 25, 2015
1 parent dc8136b commit e3b5f32
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config/environments/production.rb
Expand Up @@ -25,9 +25,6 @@

# Disabling Rails asset munging to hand it off to mod_pagespeed instead
config.assets.compress = false # normally true
config.assets.configure do |env| # normally not set
  env.cache = ActiveSupport::Cache.lookup_store(:null_store)
end

# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_files = false # ENV['RAILS_SERVE_STATIC_FILES'].present?
Expand Down

0 comments on commit e3b5f32

Please sign in to comment.