[web2py] Re: Does web2py Cache Auth Queries

2012-11-15 Thread Alex Benfica
So... What can I do to make than faster? Or should I not be using "has_permission" each time I need to know which permission logged in user have? Em quarta-feira, 2 de março de 2011 12h48min55s UTC-3, Massimo Di Pierro escreveu: > > They are not cached. > > On Mar 2, 9:22 am, Ross Peoples wro

[web2py] Re: Does web2py Cache Auth Queries

2011-03-02 Thread Massimo Di Pierro
They are not cached. On Mar 2, 9:22 am, Ross Peoples wrote: > I am finding myself using auth.has_membership() and auth.has_permission() > quite often in a module. Are either of these cached? I looked through the > Auth code a bit and didn't see anything, so I was wondering it if did it > somewher