From e3b5f32acb2066b182075d2ab147cbd6b11d9cd5 Mon Sep 17 00:00:00 2001 From: Sai Date: Wed, 25 Mar 2015 14:32:45 +0000 Subject: [PATCH] disable caching that will be handled by nginx and mod_pagespeed --- config/environments/production.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index 1a7cb16..e8a41a0 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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?