Bram - Smartelectronix <[EMAIL PROTECTED]> writes: > I would LOVE to use caching for both anonymous and logged in users, but > the problem is that every page on our site (http://www.splicemusic.com) > has the typical "hello username | log out | ..." at the top of each page. > > Now, how can I possibly cache both anonymous and logged in users easily? > I'm guessing that I would need to add @vary_on_cookie before for each > and every view?
If the username is the only thing you could store the username in a cookie and have Javascript write it out. Then the page is completly cacheable. -- Nic Ferrier http://www.tapsellferrier.co.uk --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---