From 2d9b41729e6227de0585f5cfb839a7fb7e00db78 Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Fri, 10 Apr 2020 12:47:47 +0200 Subject: [PATCH] Use memory cache-store when profiling Or you want see any change when playing fragment-caching or other caching strategies. --- config/environments/development.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index 8782f1b635..b0e6ceafd1 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -11,7 +11,7 @@ Openfoodnetwork::Application.configure do config.cache_classes = !!ENV["PROFILE"] # :file_store is used by default when no cache store is specifically configured. - # config.cache_store = :file_store + config.cache_store = :memory_store if !!ENV["PROFILE"] # Log error messages when you accidentally call methods on nil. config.whiny_nils = true