diff options
author | Mike Lissner <mlissner@michaeljaylissner.com> | 2020-07-30 13:49:57 -0700 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-05-20 07:02:56 +0200 |
commit | d5c675ac7c06ef2d4a180ed5d2d83bdd539f4558 (patch) | |
tree | ff2ab2b201d3f8920f64e7a2939f0a1d59d5c080 | |
parent | 33dec7b13bdaa570520b5750e22b760b0b7814ab (diff) | |
download | django-d5c675ac7c06ef2d4a180ed5d2d83bdd539f4558.tar.gz |
[3.2.x] Added note about culling in database cache backend docs.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Backport of 6e155d280dbe4bab171619654d8abc4b7f197e78 from main
-rw-r--r-- | docs/topics/cache.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 477a43d298..cb254a71a7 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -195,6 +195,10 @@ In this example, the cache table's name is ``my_cache_table``:: } } +Unlike other cache backends, the database cache does not support automatic +culling of expired entries at the database level. Instead, expired cache +entries are culled each time ``add()``, ``set()``, or ``touch()`` is called. + Creating the cache table ~~~~~~~~~~~~~~~~~~~~~~~~ |