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
1 changed files with 5 additions and 5 deletions

View File

@ -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.