Skip to content

Optimization and fixes - #36

Open
edgeinfinity1 wants to merge 6 commits into
v17development:mainfrom
edgeinfinity1:main
Open

edgeinfinity1 wants to merge 6 commits into
v17development:mainfrom
edgeinfinity1:main

Conversation

@edgeinfinity1

Copy link
Copy Markdown

The userBadges model is bound to users and discussions originally, which means they'll be loaded together with users in call scenarios, making it a very large burden when there's a lot of users and badges.

I made this patch to only bind actively displaying badges to discussions and list users, the complete list will be lazy loaded. This accelerated my deployment 300~1000%, it's a very nessary tweak.

Minor: added slug support for badges page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant