1
0
Fork 0
forked from OpenNeo/impress

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:
Matchu 2023-07-28 15:49:24 -07:00 committed by Matchu
parent 5f887dc8a1
commit 740645a38b

View file

@ -24,7 +24,7 @@ OpenneoImpressItems::Application.configure do
# config.logger = SyslogLogger.new # config.logger = SyslogLogger.new
# Use a different cache store in production # 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 # Disable Rails's static asset server
# In production, Apache or nginx will already do this # In production, Apache or nginx will already do this