I'm not sure what Django
database cache does with expired entries but it seems that they remain in the database.
I want Django
to delete them after they expire because their size is huge and there can be unlimited number of different keys.
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
'LOCATION': 'cache_table',
'TIMEOUT': 60 * 20,
}
}
I use cache
on filtered list of objects and this filter contais number and char fields.
Is it possible?