[3.2.x] Added note about culling in database cache backend docs.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 6e155d280d from main
This commit is contained in:
Mike Lissner 2020-07-30 13:49:57 -07:00 committed by Mariusz Felisiak
parent 33dec7b13b
commit d5c675ac7c
1 changed files with 4 additions and 0 deletions

View File

@ -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
~~~~~~~~~~~~~~~~~~~~~~~~