[Fixed]-Django application fails when hosted on Apache but works fine on Dev server

1👍

The local memory cache is per-process. See the warning in the docs (emphasis mine):

Note that each process will have its own private cache instance, which means no cross-process caching is possible. This obviously also means the local memory cache isn’t particularly memory-efficient, so it’s probably not a good choice for production environments. It’s nice for development.

For production, I recommend you use a different cache backend, for example Memcached

Leave a comment