0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Noted that localmem is the default cache.

This commit is contained in:
mlissner 2013-11-21 17:54:27 -08:00 committed by Tim Graham
parent f0fc1690b4
commit c456ea4ec8

View File

@ -289,11 +289,11 @@ user ``apache``.
Local-memory caching
--------------------
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::
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::
CACHES = {
'default': {