[4.0.x] Added Redis to warning about using cached sessions in docs.

Backport of 3ba60951fcbc8fca3e71d3b78083b100491fa7f9 from main
This commit is contained in:
Theofilos Alexiou 2022-02-02 20:45:37 +01:00 committed by Mariusz Felisiak
parent 7043f9ab3f
commit efe72cf128

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.