On Tuesday, 25 June 2013 10:13:01 UTC-3, Jox wrote: > > I do use templetor now. my current code of top bar is this: > > <nav> > <div class="wrapper"> > <div class="primary"> > <ul class="nav"> > <li><span>Home</span></li> > <li><span>About</span></li> > <li><span>Contact</span></li> > </ul> > </div> > > <div class="secondary"> > $if session.logged_in: > <span>Welcome, $session.username</span> > <a href="/new">new post</a> > <a href="/logout">logout</a> > $else: > <a href="/register">register</a> > <a href="/login">login</a> > </div> > </div> > </nav> > > This is part of my basic layout template which works as a wrapper. I use > session to check user's state which means > I have to render page in response of every request.
Sorry for asking, but why do you need to have a cache for pages? Could you save them as blob on database? How would you verify if something changed? -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/webpy. For more options, visit https://groups.google.com/groups/opt_out.
