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 somewhere else. If not then I should probably write my own has_membership/has_permission function that returns a cached value or calls the Auth methods.
- [web2py] Does web2py Cache Auth Queries Ross Peoples
- [web2py] Re: Does web2py Cache Auth Queries Massimo Di Pierro