Hi there, I've been able to cache some views individually using the cache_page decorator, for example:
@cache_page(60 * 15) def frontpage(request): blabla... But now I'd like to cahe some generic views that I'm using. Here are the url patterns: urlpatterns = patterns('django.views.generic.date_based', (r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/(?P<slug>[-\w]+)/ $', 'object_detail', info_dict_month), (r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', 'archive_day', info_dict_day), (r'^(?P<year>\d{4})/(?P<month>\d{2})/$', 'archive_month', info_dict_day), (r'^(?P<year>\d{4})/$', 'archive_year', info_dict_list), (r'^$', 'archive_index', info_dict_index), ) Would you have any pointer for caching those generic views? Thanks a lot! Julien --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---