Browse Source

Added note about zero timeout in cache settings docs.

Nick Pope 3 years ago
parent
commit
7f33c1e22d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      docs/ref/settings.txt

+ 2 - 1
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