1
0
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:
Theofilos Alexiou 2022-02-02 20:45:37 +01:00 committed by GitHub
parent 84418ba3e3
commit 3ba60951fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,11 +60,11 @@ sure you've configured your cache; see the :doc:`cache documentation
.. warning::
You should only use cache-based sessions if you're using the Memcached
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. Additionally, the local-memory cache backend is
You should only use cache-based sessions if you're using the Memcached or
Redis 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. Additionally, the local-memory cache backend is
NOT multi-process safe, therefore probably not a good choice for production
environments.