On 7/19/06, Phil Powell <[EMAIL PROTECTED]> wrote:
> Is there a simple way to disable caching for admin?  Or should it
> happen automatically?

Probably the best way to handle this is to cache only pages that
*aren't* being served to a logged-in user; this has several
advantages:

* The admin isn't cached (which solves this particular problem).
* You can do personalization for registered users without worrying
about caching (e.g., "welcome back, username").
* You still get all the benefits of caching for anonymous users, who
will probably be the bulk of any content-oriented site's traffic
anyway.

A patch which implemented this had been sitting in Trac for a while,
and Jacob committed it this morning in changeset 3359; the ticket, and
a little more explanation, are here:
http://code.djangoproject.com/ticket/1509

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to