diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2005-09-25 22:03:30 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2005-09-25 22:03:30 +0000 |
| commit | 0fa1aa8711a6e1f3653e98943f2847366c0ac556 (patch) | |
| tree | 6d76e49e1cd668c83cca5736b8cf8242b51a4f83 /docs/cache.txt | |
| parent | 6b4095ad10fc4a422b5243b353f45b8fc44562b3 (diff) | |
Added a database-backed cache backend, along with a tool in django-admin to
create the necessary table structure. This closes #515; thanks again,
Eugene!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/cache.txt')
| -rw-r--r-- | docs/cache.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/cache.txt b/docs/cache.txt index 9f50e45511..ff1c406f7c 100644 --- a/docs/cache.txt +++ b/docs/cache.txt @@ -29,10 +29,20 @@ Examples: memcached://127.0.0.1:11211/ A memcached backend; the server is running on localhost port 11211. + db://tablename/ A database backend in a table named + "tablename". This table should be created + with "django-admin createcachetable". + + file:///var/tmp/django_cache/ A file-based cache stored in the directory + /var/tmp/django_cache/. + simple:/// A simple single-process memory cache; you probably don't want to use this except for testing. Note that this cache backend is NOT threadsafe! + + locmem:/// A more sophisticaed local memory cache; + this is multi-process- and thread-safe. ============================== =========================================== All caches may take arguments -- they're given in query-string style. Valid |
