1👍
✅
I think there are some mistakes in your code 🙂
- UpdateCacheMiddleware must be the first middleware and FetchFromCacheMiddleware must be the last (https://docs.djangoproject.com/en/dev/topics/cache/#the-per-site-cache)
- Dont know if ‘django_pylibmc’ is a shortcut in your cachebackend but in my settings it is “django.core.cache.backends.memcached.PyLibMCCache”
Maybe that helps.
Source:stackexchange.com