Hello, Djangoers,

I've got a site where some pages take really long to calculate and
display (~40s), so I've turned on the caching and it works like a
breeze. I'm amazed.

This is a data-analysis site, and after I change some parameters, I want
to clear the cache for one of the views. How can I force a view to
expire?

Reading the docs http://www.djangoproject.com/documentation/cache/ I
think that I need to use the vary_on_headers, but I need to create a
custom header and modify it whenever my data gets modified. I just don't
know how to do it. Can you give me a hint?

-- 
Maciej Bliziński
http://automatthias.wordpress.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to