From 7f33c1e22dbc34a7afae7967783725b10f1f13b1 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Wed, 14 Jul 2021 19:28:21 +0100 Subject: [PATCH] Added note about zero timeout in cache settings docs. --- docs/ref/settings.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index e6eee7d6bbb..ba2a787b537 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -232,7 +232,8 @@ consult your backend module's own documentation. Default: ``300`` The number of seconds before a cache entry is considered stale. If the value of -this settings is ``None``, cache entries will not expire. +this setting is ``None``, cache entries will not expire. A value of ``0`` +causes keys to immediately expire (effectively "don't cache"). .. setting:: CACHES-VERSION