Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.6.x] Fixed #23023 -- Added warning against local-memory cache.

Thanks django at kerz.id.au.

Backport of 7d0519c from master
  • Loading branch information...
commit 21853c1b908f777de354b1371c17422f10032c70 1 parent 04d827a
@timgraham timgraham authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/topics/http/sessions.txt
View
4 docs/topics/http/sessions.txt
@@ -64,7 +64,9 @@ sure you've configured your cache; see the :doc:`cache documentation
cache backend. The local-memory cache backend doesn't retain data long
enough to be a good choice, and it'll be faster to use file or database
sessions directly instead of sending everything through the file or
- database cache backends.
+ database cache backends. Additionally, the local-memory cache backend is
+ NOT multi-process safe, therefore probably not a good choice for production
+ environments.
If you have multiple caches defined in :setting:`CACHES`, Django will use the
default cache. To use another cache, set :setting:`SESSION_CACHE_ALIAS` to the
Please sign in to comment.
Something went wrong with that request. Please try again.