Commit 4212ae6f authored by mlissner's avatar mlissner Committed by Tim Graham
Browse files

[1.6.x] Noted that localmem is the default cache.

Backport of c456ea4e from master
parent d55df0b8
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -275,11 +275,11 @@ module. Each file's name is the cache key, escaped for safe filesystem use.
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': {