summaryrefslogtreecommitdiff
path: root/tests/cache/tests.py
AgeCommit message (Expand)Author
2026-06-09Fixed #37130 -- Skipped DB cache deletion when culling offset is zero.vishwa
2026-06-09Refs #36560, CVE-2026-35193 -- Replaced substring check on cache-control dire...Jacob Walls
2026-06-08Refs CVE-2026-48587 -- Added helper to properly split header values.Natalia
2026-06-08Fixed #32785 -- Optimized cull frequency for DBCache.eevelweezel
2026-06-03Fixed CVE-2026-48587 -- Ignored whitespace padding when checking Vary header ...Jake Howard
2026-06-03Fixed CVE-2026-35193 -- Varied on Authorization when caching non-public respo...Jacob Walls
2026-06-03Fixed CVE-2026-8404 -- Used Cache-Control directives case-insensitively in Up...Jake Howard
2026-05-05Fixed CVE-2026-6907 -- Prevented caching of requests when Vary header contain...Sarah Boyce
2026-02-25Refs #36879, #36936 -- Fixed typo in RedisCacheTests.test_client_driver_info.pmppk
2026-02-03Fixed #36879 -- Identified Django client in Redis client metadata.ar3ph
2025-12-19Fixed #36590 -- Made async cache methods use specialized sync versions if ava...eevelweezel
2025-08-21Fixed #36560 -- Prevented UpdateCacheMiddleware from caching responses with C...mengxun
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2024-09-05Fixed #32831 -– Allowed cache tests to be retried via a new "retry" decorator.Wassef Ben Ahmed
2024-02-05Fixed #27225 -- Added "Age" header when fetching cached responses.Rinat Khabibiev
2023-12-31Used addCleanup() in tests where appropriate.Mariusz Felisiak
2023-12-27Improved cache.tests.FileBasedCacheTests.test_touch to avoid flakiness due to...Natalia
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2023-01-04Refs #34074 -- Used headers argument for RequestFactory and Client in docs an...David Wobrock
2022-12-16Fixed #34212 -- Made RedisCacheClient.incr() use write connection.Leo
2022-12-13Fixed #34209 -- Prevented FileBasedCache.has_key() crash caused by a race con...Marti Raudsepp
2022-07-06Fixed #33826 -- Fixed RedisCache.set_many()/delete_many() crash with an empty...Christos Kopanos
2022-05-16Fixed #33681 -- Made Redis client pass CACHES["OPTIONS"] to a connection pool.Mariusz Felisiak
2022-02-22Removed redundant QuerySet.all() calls in docs and tests.Nick Pope
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-03Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak
2021-12-14Fixed #33361 -- Fixed Redis cache backend crash on booleans.Jeremy Lainé
2021-12-14Refs #33361 -- Added Added DummyCache.set() test for boolean values.Jeremy Lainé
2021-12-09Fixed #33340 -- Fixed unquoted column names in queries used by DatabaseCache.Arsa
2021-11-03Fixed #33252 -- Made cache middlewares thread-safe.Iuri de Silvio
2021-11-03Refs #33252 -- Used @override_settings in BaseCacheTests.test_cache_write_unp...Iuri de Silvio
2021-09-20Refs #32193 -- Removed MemcachedCache per deprecation timeline.Mariusz Felisiak
2021-09-14Fixed #33012 -- Added Redis cache backend.Daniyal
2021-09-07Refs #33060 -- Ensured cache backends validate keys.Nick Pope
2021-09-07Refs #33060 -- Added memcached test for make_key() making keys invalid.Mariusz Felisiak
2021-09-02Refs #31907 -- Fixed incorrect argument for delete_many() in cache tests.Nick Pope
2021-08-31Fixed #33061 -- Fixed handling nonexistent keys with negative deltas in incr(...Sondre Lillebø Gundersen
2021-08-31Refs #33061 -- Added DummyCache.incr()/decr() tests for nonexistent keys with...Sondre Lillebø Gundersen
2021-05-26Fixed #32772 -- Made database cache count size once per set.Michael Lissner
2021-05-18Fixed #32747 -- Prevented initialization of unused caches.Mariusz Felisiak
2021-05-05Fixed #32705 -- Prevented database cache backend from checking .rowcount on c...ecogels
2020-12-17Fixed #29867 -- Added support for storing None value in caches.Nick Pope
2020-12-09Fixed #32193 -- Deprecated MemcachedCache.Mariusz Felisiak
2020-12-08Fixed #32233 -- Cleaned-up duplicate connection functionality.Florian Apolloner
2020-12-08Refs #32233 -- Added tests for nonexistent cache backend.Mariusz Felisiak
2020-12-08Refs #32233 -- Added tests for nonexistent cache and databases aliases.Mariusz Felisiak
2020-10-28Made small readability improvements.Martin Thoma
2020-10-19Reverted "Reduced time.sleep() in cache touch() tests."Mariusz Felisiak
2020-10-16Reduced time.sleep() in cache touch() tests.Nick Pope