DEV Community

Discussion on: The best way to load and use Google Fonts in Next.js + Tailwind

Collapse
 
ninest profile image
ninest

Thanks for the write up! Is it faster if I download the fonts and reference them locally rather than importing from fonts.google.com?

Collapse
 
thomasledoux1 profile image
Thomas Ledoux

My pleasure!
I'm guessing this would be faster, as you don't have to connect to an external source to fetch the fonts.
But the CDN of Google is very fast, so I'm not sure if the difference will be noticeable.
If you want to host your fonts locally, have a look at this site: google-webfonts-helper.herokuapp.c...