Closed
Bug 1033047
Opened 10 years ago
Closed 10 years ago
Cache user query in auth backend
Categories
(Webtools Graveyard :: Air Mozilla, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: peterbe)
Details
We're using the `django_browserid.auth.BrowserIDBackend` AUTHENTICATION_BACKEND which has a function called `get_user()` which, given a user ID, returns the User instance of that. This can be cached which means for heavily cached views it means we no longer need any database queries at all.
Assignee | ||
Comment 1•10 years ago
|
||
Just failed to put in the bug number in the commit message. https://github.com/mozilla/airmozilla/commit/a71978a05331fdaf7629b996c4f00d4e1e5a5e4e
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → peterbe
Updated•3 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•