Answer the question
In order to leave comments, you need to log in
About caching in Django
The question is quite general: how does caching work in django, if we are talking about a general idea? For example, how does memcached-backed cache?
That is - I understand how querysets can be cached and invalidated. I just don’t understand what will happen to the cache for a certain model when a new instance of it is added? Will this cache be invalidated?
As for templates, they can cache completely and partially. If we are talking about a full cache, what will happen to the content that is generated based on some data? How are templates invalidated?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question