*that answers my question - wondered if it was part of the app, or if it was in the render.* *thank you for answering,* *greg *----------------------- Visit http://www.superantispyware.com/superantispyware.html?rid=3971 Remove All The Spyware - Not Just The Easy Ones! http://1-4-u.info | Don't send insanely long links! Need a Pick-Me-Up? http://quotes.feedtheguru.com
On Wed, Jun 16, 2010 at 4:00 PM, Escipion <[email protected]>wrote: > Greg, > > I do not know whether your statement would have the same effect, what > I did was: > > render = web.template.render(loc=settings.TEMPLATES_PATH, > globals={'session': session}, cache=True) > > On Jun 16, 2:13 pm, Greg Milby <[email protected]> wrote: > > *is that, "web.config.cache=True"? > > * > > > > On Wed, Jun 16, 2010 at 1:42 AM, Emiliano Martinez Contreras < > > > > [email protected]> wrote: > > > Nope, the test was done with apache+mod_wsgi+webpy and I did have > > > web.config.debug = False, but actually specifying cache=True makes it > work > > > correctly. > > > > > 2010/6/16 Anand Chitipothu <[email protected]> > > > > > 2010/6/15 Emiliano Martinez Contreras <[email protected] > >: > > >> > @Anand I did what you said, which effectively is also what @Andrei > said, > > >> > however the CPU time does not improve, look at the profiling output: > > > > >> Did you run this test using dev server? If so, try again after setting > > >> web.config.debug = False. > > > > >> -- > > >> You received this message because you are subscribed to the Google > Groups > > >> "web.py" group. > > >> To post to this group, send email to [email protected]. > > >> To unsubscribe from this group, send email to > > >> [email protected]<webpy%[email protected]>< > webpy%[email protected]<webpy%[email protected]> > > > > >> . > > >> For more options, visit this group at > > >>http://groups.google.com/group/webpy?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "web.py" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<webpy%[email protected]>< > webpy%[email protected]<webpy%[email protected]> > >. > > > For more options, visit this group at > > >http://groups.google.com/group/webpy?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <webpy%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
