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

Change Google Fonts loading behavior to improve rendering performance #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

epguthrie
Copy link
Collaborator

Resolves #138.
This change prioritizes retrieving the Lato font from Google Fonts, improving the performance of content loading and reducing the risk of a "flash of invisible text".
The most dramatic impact was seen in Lighthouse testing on the login page, where performance improved 12 points between tests:

image
Before

image
After

In addition, "potential savings" on webfont load times decreased substantially:

image
Before

image
After

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.

Change font behavior to improve performance
1 participant