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

Add googleapis preconnect to fonts import #29

Open
pauloreis7 opened this issue Sep 30, 2021 · 0 comments
Open

Add googleapis preconnect to fonts import #29

pauloreis7 opened this issue Sep 30, 2021 · 0 comments

Comments

@pauloreis7
Copy link

Hello.

Would be good add at 'public/index.html' on top of the fonts import link, the line:
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

This way the fonts will load faster.

The google uses the preconnect above the font import link as a way to speed up the connection of the default google font to the application.

It is a simple change to make that maintains the current structure of the project and improves considerably the performance of loading and displaying the fonts on the screen :D

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

No branches or pull requests

1 participant