On 10/22/07, Joe <[EMAIL PROTECTED]> wrote:
>
>
> I am using the Django cache middleware to cache my site.  I had to set
>         CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True because some content
> changes
> based upon which user is logged in (Hello, username).
>
> If I go into the template and do some template fragment caching, will
> it ignore the setting above and cache the fragment for authenticated
> users?


Yes.  These are two different mechanisms for populating the cache, and
CACHE_MIDDLEWARE_ANONYMOUS_ONLY applies only to the cache middlware, not
fragment caching.

Karen

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to