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++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -