1
0
mirror of https://github.com/django/django.git synced 2025-03-26 09:10:50 +00:00

[1.7.x] Clarified that LocMemCache is per-process; refs #7639.

Thanks projectgus for the suggestion.

Backport of c37000ab04 from master
This commit is contained in:
Tim Graham 2014-07-02 10:12:43 -04:00
parent e88723acf8
commit a56773245b

View File

@ -296,8 +296,9 @@ Local-memory caching
This is the default cache if another is not specified in your settings file. If 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 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 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>` per-process (see below) and thread-safe. To use it, set :setting:`BACKEND
to ``"django.core.cache.backends.locmem.LocMemCache"``. For example:: <CACHES-BACKEND>` to ``"django.core.cache.backends.locmem.LocMemCache"``. For
example::
CACHES = { CACHES = {
'default': { 'default': {