Execute callback when django.cache.set timeout is exceeded I use Django cache with django-redis==5.0.0 like this: