mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Added Redis to warning about using cached sessions in docs.
This commit is contained in:
parent
84418ba3e3
commit
3ba60951fc
@ -60,11 +60,11 @@ sure you've configured your cache; see the :doc:`cache documentation
|
|||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
You should only use cache-based sessions if you're using the Memcached
|
You should only use cache-based sessions if you're using the Memcached or
|
||||||
cache backend. The local-memory cache backend doesn't retain data long
|
Redis cache backend. The local-memory cache backend doesn't retain data
|
||||||
enough to be a good choice, and it'll be faster to use file or database
|
long enough to be a good choice, and it'll be faster to use file or
|
||||||
sessions directly instead of sending everything through the file or
|
database sessions directly instead of sending everything through the file
|
||||||
database cache backends. Additionally, the local-memory cache backend is
|
or database cache backends. Additionally, the local-memory cache backend is
|
||||||
NOT multi-process safe, therefore probably not a good choice for production
|
NOT multi-process safe, therefore probably not a good choice for production
|
||||||
environments.
|
environments.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user