---
** [tickets:#8409] Speed up anonymous user handling**
**Status:** open
**Milestone:** unreleased
**Labels:** performance
**Created:** Fri Feb 04, 2022 09:18 PM UTC by Dave Brondsema
**Last Updated:** Fri Feb 04, 2022 09:18 PM UTC
**Owner:** Dave Brondsema
For every logged-out request, `authenticate_request` does a User query with
username None, which is pointless and never finds anything.
It also calls `M.User.anonymous()` which maybe could be in memory instead of a
database lookup? Could speed up lots of other calls to anonymous() too.
---
Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed
to https://forge-allura.apache.org/p/allura/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is
a mailing list, you can unsubscribe from the mailing list.