my purpose is to cache the whole site for anonymous and cache serveral view for registered user also.
first, i set these in per-site cache in settings.py: CACHE_BACKEND = 'memcached://100.13.192.7:11211/' CACHE_MIDDLEWARE_SECONDS = 600 CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True this means only cache for anonymous. then i set some per-view cache as below: @cache_page(60 * 15) def slashdot_this(request): so view of slashdot_this will cache for register user and anonymous. am i right? thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---