This PR includes some heavy performance optimisations by
reducing the amount of unnecessary db queries
moving querying logic to the db and only returning relevant data
cleaning up complicated code
adding just a few database indices
This will affect the speed of the league home quite a bit. But it might also yield better performance for many other pages (especially, as time to fetch the league ranking dropped quite a bit)
This PR includes some heavy performance optimisations by
This will affect the speed of the league home quite a bit. But it might also yield better performance for many other pages (especially, as time to fetch the league ranking dropped quite a bit)