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
parent a0de57bed9
commit ca280e55ac

View file

@ -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