Update the cache namespace
This is recommended by the Rails 4.0 upgrade guide: > The caching method changed between Rails 3.x and 4.0. You should change the cache namespace and roll out with a cold cache. I noticed too that old cache entries with old character encodings were a real problem, so yeah making sure we're working with a cold cache is smart!!
This commit is contained in:
parent
a0de57bed9
commit
ca280e55ac
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ OpenneoImpressItems::Application.configure do
|
|||
# config.logger = SyslogLogger.new
|
||||
|
||||
# Use a different cache store in production
|
||||
config.cache_store = :mem_cache_store
|
||||
config.cache_store = :mem_cache_store, namespace: "openneo-impress-rails"
|
||||
|
||||
# Disable Rails's static asset server
|
||||
# In production, Apache or nginx will already do this
|
||||
|
|
Loading…
Reference in a new issue