Re: caching and "hello username" on each page

2007-07-29 Thread James Bennett
On 7/28/07, Bram - Smartelectronix <[EMAIL PROTECTED]> wrote: > 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. You might c

Re: caching and "hello username" on each page

2007-07-29 Thread Doug B
You could also make your own render_to_response() function that renders and caches the generic part of the page, and then passes that in as a context for your base layout with the non-cacheable stuff like the username. Or make some of the generic stuff tags that cache themselves using the lower l

Re: caching and "hello username" on each page

2007-07-28 Thread Nic James Ferrier
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 p

caching and "hello username" on each page

2007-07-28 Thread Bram - Smartelectronix
hello everyone, 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