From 6a30075eaa52b3d91665195a34901ac450df5bbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85ke=20Forslund?= Date: Mon, 23 Sep 2013 00:48:43 +0200 Subject: [PATCH] Fixed #21140 -- Added 'Using cached sessions' to the performance guide. Thanks EvilDMP for the suggestion. --- docs/topics/performance.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/topics/performance.txt b/docs/topics/performance.txt index d015558b321..1c1ed867625 100644 --- a/docs/topics/performance.txt +++ b/docs/topics/performance.txt @@ -272,6 +272,17 @@ time. Note that GZipMiddleware is currently considered a security risk, and is vulnerable to attacks that nullify the protection provided by TLS/SSL. See the warning in :class:`~django.middleware.gzip.GZipMiddleware` for more information. +Sessions +-------- + +:ref:`Using cached sessions ` +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +:ref:`Using cached sessions ` may be a way to increase +performance by eliminating the need to load session data from a slower storage +source like the database and instead storing frequently used session data in +memory. + Static files ------------