A
A
andrewshkovskii2013-09-20 16:27:11
Django
andrewshkovskii, 2013-09-20 16:27:11

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

1 answer(s)
V
vosi, 2013-09-20
@vosi

Out of the box - almost all handles

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question