Hi,
It looks like the right way to deal with this is to implement per page
caching, but that doesn't look too simple to me. I hope that someone
will prove me wrong by posting some simple instructions for implemeting
per page caching. Alternatively please post a mechanism for disabling
global caching for selected pages (even though I doubt that that is
possible without creating some custom middleware.)
caching individual views is also simple. When your cache is already setup,
just add a decorator for each view, which should be cached.
from django.views.decorators.cache import cache_page
@cache_page(900)
def myview(request):
...
The argument for cache_page is the cache timeout in seconds.
Bye,
Axel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---