Added note about culling in database cache backend docs.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
Mike Lissner 2020-07-30 13:49:57 -07:00 committed by Mariusz Felisiak
parent 536c155e67
commit 6e155d280d
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
~~~~~~~~~~~~~~~~~~~~~~~~