Closed wlonk closed 9 years ago
Could we do this in production, or figure out how to flush the cache in production? This would be useful if I want to make edits (ex to a blog post that just went public) or to debug a change.
I am hesitant to do that; flushing the cache is much much much better than actually changing how the running app connects to a cache. You shouldn't require production pushes for things like cache resets.
How does one flush the cache in production? On Nov 8, 2015 3:34 PM, "Kit La Touche" notifications@github.com wrote:
I am hesitant to do that; flushing the cache is much much much better than actually changing how the running app connects to a cache. You shouldn't require production pushes for things like cache resets.
— Reply to this email directly or view it on GitHub https://github.com/bwarren2/datadrivendota/pull/502#issuecomment-154868385 .
You can flush it by going to the addons for DDD, clicking on Memcachier and getting to the control panel for it, then clicking "flush cache". There may also be a CLI way, I don't know.
LGTM!
If
CACHE_ENABLED
not set to'True'
, cache will be set toDummyCache
.Closes #494.