django1/django/core/cache/backends
Grant Jenks d38a3169a4 Fixed #28977 -- Changed local-memory cache to use LRU culling.
LRU culling turns every read into a kind of write to the cache: cache keys
are moved to the first position in the OrderedDict when they are retrieved.
The RWLock which permitted multiple readers while prioritizing a single
writer is obsolete since all accesses are now writes.
2018-01-24 12:26:19 -05: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 Fixed #28601 -- Prevented cache.get_or_set() from caching None if default is a callable that returns None. 2017-10-10 09:20:34 -04:00
db.py Refs #23919 -- Replaced super() calls for old-style classes. 2017-12-07 09:10:32 -05:00
dummy.py Refs #23919 -- Replaced super() calls for old-style classes. 2017-12-07 09:10:32 -05:00
filebased.py Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()." 2017-09-07 08:16:21 -04:00
locmem.py Fixed #28977 -- Changed local-memory cache to use LRU culling. 2018-01-24 12:26:19 -05:00
memcached.py Refs #20892 -- Removed support for passing pylibmc behavior settings as top-level attributes of CACHES['OPTIONS']. 2017-09-22 12:51:17 -04:00