forked from garsh0p/garpr
-
Notifications
You must be signed in to change notification settings - Fork 13
[Performance] Pagination and reduction in calls to slow routes #195
Copy link
Copy link
Open
Milestone
Description
The first time we load the app, we make a number of very expensive ajax calls.
GET /[region]/players
GET /[region]/rankings (x2)
GET /[region]/tournaments
GET /[region]/tournaments?includePending=true (for admins)
GET /[region]/merges (for admins)
We don't need to do these expensive gets ASAP when we load the page, and we don't need to get all tournaments / players / possibly rankings immediately.
Possible improvements:
- Don't make two calls to
/rankings - Don't make calls to pages that we aren't looking at?
- Paginate
/tournamentsand/players
a. Add tournament search?
b. Add stats like "total number of players / tournaments" in case people want those? - Possibly paginate
/rankings?
Reactions are currently unavailable
