#3056 closed enhancement (invalid)
generic views: ability to disable caching
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Generic views | Version: | dev |
Severity: | normal | Keywords: | cache |
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 want to thank all django developers and contributors for such awesome framework.
the question is: it would be nice if all generic views got no_cache=True{False} parameter to avoid caching of i.e. backoffice's pages based on generic views
thanks
Change History (4)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
yes, it's all about django cache and generic views. a possibility to enable/disable caching with generic views
comment:3 by , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Generic views don't do any caching on their own. Any caching that they do is caching that *you* (the developer) have added yourself, so I don't see how generic views should gain functionality to disable caching.
comment:4 by , 18 years ago
It sounds like he's just caching his entire site, in which case it might be more productive in his case to use the finer-grained caching, or use wrappers around generic views to add the never_cache
decorator.
Hi Michael,
I'm not sure what you're looking for here. What is backoffice? And what caching are you referring to -- the Django cache framework?