浏览代码

Clarified that LocMemCache is per-process; refs #7639.

Thanks projectgus for the suggestion.
Tim Graham 10 年之前
父节点
当前提交
c37000ab04
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      docs/topics/cache.txt

+ 3 - 2
docs/topics/cache.txt

@@ -296,8 +296,9 @@ Local-memory caching
 This is the default cache if another is not specified in your settings file. If
 you want the speed advantages of in-memory caching but don't have the capability
 of running Memcached, consider the local-memory cache backend. This cache is
-multi-process and thread-safe. To use it, set :setting:`BACKEND <CACHES-BACKEND>`
-to ``"django.core.cache.backends.locmem.LocMemCache"``. For example::
+per-process (see below) and thread-safe. To use it, set :setting:`BACKEND
+<CACHES-BACKEND>` to ``"django.core.cache.backends.locmem.LocMemCache"``. For
+example::
 
     CACHES = {
         'default': {