[Repoze-dev] [issue77] repoze.who metadata plugin is called on every request

2009-05-20 Thread Chris McDonough
Chris McDonough added the comment: You can currently write your own metadata plugin which could try to get info from a cookie value first, then the database. Or better yet, retrieve the data from cache instead of the database or a cookie. But in general, yes, the "eagerness" of repoze.who to p

[Repoze-dev] [issue77] repoze.who metadata plugin is called on every request

2009-05-12 Thread Forest
New submission from Forest : My testing shows that a meta-data provider plugin is called on every request. This is horribly inefficient for meta-data that is expensive to fetch, such as any that lives in a database. I would expect it to be fetched once when the user is authenticated, and then r