Allow Django to use event based caching
|Reported by:||Henrik Lied||Owned by:||Jacob|
|Component:||Core (Cache system)||Version:||master|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
First of all, I have to say that the cache framework is golden. It's very good for e.g. news sites and that sort - but exceptions do occur.
I would like to see event based caching implemented into Django. The current time based cache framework doesn't always do the trick. When you have a site with hundreds of profiles, you have to have the possibility to let other users view updated information when it's updated. I know that Rails has the possibility to use event based caching, and I think Django should have the same possibility.
To manually use the low level API every time it's needed is simply too anti-DRY.