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

FA preconnect and Google font chain reduction #1049

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

PeterBreen
Copy link
Collaborator

Small performance fixes:

  • add preconnect for FontAwesome connections
  • remove one step in the chain that loads Google Fonts

Specifically, the request chain to load our fonts looks like this right now:
critpath-main

This PR will change it to this:
critpath-branch

It just removes one step for the google fonts; our css and our google fonts will now load in parallel, not in sequence. In Lighthouse testing on local, I see a small reduction in first content paint (-0.3s) and total blocking time (-10ms) and +2 points on the Performance statistic (76 to 78) -- I ran these tests multiple times so those are averages but the difference is very small from test to test. The FA preconnect is ... probably insignificant, but anything to help speed up FA loads.

@marlonkeating marlonkeating changed the base branch from master to sprint-95-release October 29, 2023 16:57
@marlonkeating marlonkeating merged commit 02fa7e3 into sprint-95-release Oct 29, 2023
@marlonkeating marlonkeating mentioned this pull request Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants