mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Use memory cache-store when profiling
Or you want see any change when playing fragment-caching or other caching strategies.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user