summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/cache.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
index 4e49cd7ae3..3c9e1eafda 100644
--- a/docs/topics/cache.txt
+++ b/docs/topics/cache.txt
@@ -114,6 +114,15 @@ In this example, Memcached is available through a local Unix socket file
}
}
+When using the ``pylibmc`` binding, do not include the ``unix:/`` prefix::
+
+ CACHES = {
+ 'default': {
+ 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache',
+ 'LOCATION': '/tmp/memcached.sock',
+ }
+ }
+
One excellent feature of Memcached is its ability to share a cache over
multiple servers. This means you can run Memcached daemons on multiple
machines, and the program will treat the group of machines as a *single*