1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Added note about zero timeout in cache settings docs.

This commit is contained in:
Nick Pope 2021-07-14 19:28:21 +01:00 committed by GitHub
parent 5838102ae6
commit 7f33c1e22d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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