mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
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.
This commit is contained in:
@@ -108,7 +108,8 @@ Minor features
|
||||
Cache
|
||||
~~~~~
|
||||
|
||||
* ...
|
||||
* The :ref:`local-memory cache backend <local-memory-caching>` now uses a
|
||||
least-recently-used (LRU) culling strategy rather than a pseudo-random one.
|
||||
|
||||
CSRF
|
||||
~~~~
|
||||
|
||||
Reference in New Issue
Block a user