Opened 18 years ago
Closed 18 years ago
#4520 closed (invalid)
Allow Django to use event based caching
Reported by: | Henrik Lied | Owned by: | Jacob |
---|---|---|---|
Component: | Core (Cache system) | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
This is too vague to actually implement; please bring this discussion to django-dev.