django1/django/core/cache/backends
Malcolm Tredinnick f425cb8caa Fixe #6131 -- Fixed a problem with expired keys in the locmem cache. Based on a patch from sherbang.
In passing, changed the get() method to use a similar style to has_key() and made add() fractionally faster with the same sort of change (only compute time.time() when we really need it).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-11 01:20:25 +00:00
..
__init__.py Refactored cache from django/core/cache.py into django/core/cache package, with each backend getting a separate module. This keeps things cleaner and uses less memory, because the backend module is only loaded if it's needed. 2006-02-24 06:07:01 +00:00
base.py Edited docs and docstring changes from [6572] (new cache add() method) 2007-11-30 05:30:43 +00:00
db.py Fixed a bug in the db cache backend introduced in [6572]. 2007-10-21 19:19:32 +00:00
dummy.py Fixed #4831 -- Added an "add" cache key method, for parity with memcached's 2007-10-20 15:16:34 +00:00
filebased.py Fixed #6099: the filebased cache backend now uses md5 hashes of keys instead of sanitized filenames. For good measure, keys are partitioned into subdirectories using the first few bits of the hash. Thanks, sherbang. 2007-12-04 18:03:56 +00:00
locmem.py Fixe #6131 -- Fixed a problem with expired keys in the locmem cache. Based on a patch from sherbang. 2007-12-11 01:20:25 +00:00
memcached.py Fixed #4831 -- Added an "add" cache key method, for parity with memcached's 2007-10-20 15:16:34 +00:00