Expire a view-cache in Django?

The @cache_page decorator is awesome. But for my blog I would like to keep a page in cache until someone comments on a post. This sounds like a great idea as people rarely comment so keeping the pages in memcached while nobody comments would be great. I’m thinking that someone must have had this problem before? And this is different than caching per url.

Disabling caching in Flask

I have some caching issues. I’m running very small web-application which reads one frame, saves it to the disk and then shows it in browsers window. I know, it is probably not the best solution, but every time I save this read frame with the same name and therefor any browser will cache it. I … Read more