Caching in auth middleware

2009-02-13 Thread Wichert Akkerman
I have what I suspect is a reasonably common setup with a repoze.who middleware for authentication, followed by transaction, routes, session, cache, registry manager and pylons middlewares. In some cases you want to use a cache in authentication middleware to prevent a SQL server hit on every

Re: Caching in auth middleware

2009-02-13 Thread Wichert Akkerman
Previously Wichert Akkerman wrote: I have what I suspect is a reasonably common setup with a repoze.who middleware for authentication, followed by transaction, routes, session, cache, registry manager and pylons middlewares. In some cases you want to use a cache in authentication