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:
parent
5838102ae6
commit
7f33c1e22d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user