Hi,

On the quest for performance I'm now having a look at Django's caching
framework.

I've got a simple question that I can't find the answer to:  if the data
that a view depends on changes, does Django do anything smart to invalidate
the cache for that view, or is it left to the programmer?

If the later (which is what I suspect), then is there an easy way to find
out what the tag under which the view result has been cached by the
middleware is?

I'm imagining a scenario where I have a view that handles a POST and GET of
some model(s).  Whenever there's a POST the data can be assumed to have
changed, so the cache should be flushed.

Cheers,

Malcolm
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Reply via email to