Noted that localmem is the default cache.
This commit is contained in:
parent
f0fc1690b4
commit
c456ea4ec8
|
@ -289,11 +289,11 @@ user ``apache``.
|
||||||
Local-memory caching
|
Local-memory caching
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
If you want the speed advantages of in-memory caching but don't have the
|
This is the default cache if another is not specified in your settings file. If
|
||||||
capability of running Memcached, consider the local-memory cache backend. This
|
you want the speed advantages of in-memory caching but don't have the capability
|
||||||
cache is multi-process and thread-safe. To use it, set
|
of running Memcached, consider the local-memory cache backend. This cache is
|
||||||
:setting:`BACKEND <CACHES-BACKEND>` to
|
multi-process and thread-safe. To use it, set :setting:`BACKEND <CACHES-BACKEND>`
|
||||||
``"django.core.cache.backends.locmem.LocMemCache"``. For example::
|
to ``"django.core.cache.backends.locmem.LocMemCache"``. For example::
|
||||||
|
|
||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
|
|
Loading…
Reference in New Issue