#5815: Adds per-view cache refreshing (clearing)
-----------------------------------+----------------------------------------
Reporter: k0001 | Owner: nobody
Status: new | Milestone:
Component: Cache system | Version: SVN
Resolution: | Keywords: cache refresh clear
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 1 |
-----------------------------------+----------------------------------------
Comment (by julianb):
One could argue that you are doing something wrong if you need per-site or
per-view cache clearing.
If you have a page that changes more than once in a month, you are better
off using the cache template tag. This allows you to share cached content
between views and the keys can be deleted more easily when something got
updated. With per-view caching you always cache the whole page, for every
page. Imagine how often you cache your header or footer that way if you
have a larger site.
--
Ticket URL: <http://code.djangoproject.com/ticket/5815#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---