Fixed #16786 -- Minor cleanups in the memcached section of the caching topic guide. Thanks to jamesp for the report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
fe88584589
commit
6ce463aadb
|
@ -63,17 +63,18 @@ settings file. Here's an explanation of all available values for
|
||||||
Memcached
|
Memcached
|
||||||
---------
|
---------
|
||||||
|
|
||||||
By far the fastest, most efficient type of cache available to Django, Memcached
|
By far the fastest, most efficient type of cache available to Django,
|
||||||
is an entirely memory-based cache framework originally developed to handle high
|
Memcached__ is an entirely memory-based cache framework originally developed to
|
||||||
loads at LiveJournal.com and subsequently open-sourced by Danga Interactive.
|
handle high loads at LiveJournal.com and subsequently open-sourced by Danga
|
||||||
It's used by sites such as Facebook and Wikipedia to reduce database access and
|
Interactive. It is used by sites such as Facebook and Wikipedia to reduce
|
||||||
dramatically increase site performance.
|
database access and dramatically increase site performance.
|
||||||
|
|
||||||
Memcached is available for free at http://memcached.org/. It runs as a
|
__ http://memcached.org/
|
||||||
daemon and is allotted a specified amount of RAM. All it does is provide a
|
|
||||||
fast interface for adding, retrieving and deleting arbitrary data in the cache.
|
Memcached runs as a daemon and is allotted a specified amount of RAM. All it does is
|
||||||
All data is stored directly in memory, so there's no overhead of database or
|
provide a fast interface for adding, retrieving and deleting arbitrary data in
|
||||||
filesystem usage.
|
the cache. All data is stored directly in memory, so there's no overhead of
|
||||||
|
database or filesystem usage.
|
||||||
|
|
||||||
After installing Memcached itself, you'll need to install a memcached
|
After installing Memcached itself, you'll need to install a memcached
|
||||||
binding. There are several python memcached bindings available; the
|
binding. There are several python memcached bindings available; the
|
||||||
|
@ -1144,7 +1145,7 @@ site's performance:
|
||||||
and ``Last-Modified`` headers.
|
and ``Last-Modified`` headers.
|
||||||
|
|
||||||
* :class:`django.middleware.gzip.GZipMiddleware` compresses responses for all
|
* :class:`django.middleware.gzip.GZipMiddleware` compresses responses for all
|
||||||
moderns browsers, saving bandwidth and transfer time.
|
modern browsers, saving bandwidth and transfer time.
|
||||||
|
|
||||||
Order of MIDDLEWARE_CLASSES
|
Order of MIDDLEWARE_CLASSES
|
||||||
===========================
|
===========================
|
||||||
|
|
Loading…
Reference in New Issue