소스 검색

Added note about zero timeout in cache settings docs.

Nick Pope 3 년 전
부모
커밋
7f33c1e22d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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