I have an interesting idea that I am not quite sure how to pursue. I'm wondering if any of you have figured this out already.
What I would like to do is set the cache expiration for a particular object in the cache to be very high, and then delete the item from the cache when an instance of its model is saved. This would be particularly useful for a site where the data only changes through the admin interface, and not very frequently. This way, the object can stay cached as long as it has not changed. I was thinking of trying something with the post_save signal and the cache middleware. Has anyone tried this already? Or is this a bad idea? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---