python - How is django's default cache invalidated by an app -


i've had disable django's cache middleware;

middleware_classes = (     #'django.middleware.cache.updatecachemiddleware',     ...     #'django.middleware.cache.fetchfromcachemiddleware', ) 

this because caching views default, causing incorrect information rendered because our methods don't invalidate cache.

i'm familiar writing custom cache methods models , necessary signals delete cache keys, if django creating cache keys itself, how delete correct keys when change object example?


Comments

Popular posts from this blog

c - CUDA code not processing if block properly -

oracle11g - get root domain from url Oracle sql regex_substr -

xcode - Swift Playground - Files are not readable -