Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: add priority hints to the LCP #1731

Merged
merged 3 commits into from
Aug 10, 2023

Conversation

wescopeland
Copy link
Member

The LCP on nearly every page of the site is the logo in the navbar. Currently it has no preloading, priority, or importance hinting. These hints move the image further up the waterfall to coerce the browser to fetch the image earlier, resulting in better LCP scores.

@wescopeland wescopeland requested a review from a team August 9, 2023 23:15
@luchaos luchaos merged commit d1cabc6 into RetroAchievements:master Aug 10, 2023
5 checks passed
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.

2 participants