Open utterances-bot opened 10 months ago
How does this avoid an additional HTTP request? Is the font data somehow included inline in your HTML?
Doesn't it just change the url of the HTTP request for the font assets to your own server, instead of Google CDN?
@jessegavin I fixed the verbiage: "adds an extra HTTP request (to an external service)"
I hope this makes more sense now.
Installing Google Fonts as npm packages — Amit Merchant — A blog on PHP, JavaScript, and more
Google Fonts is a great resource for finding free fonts for your web projects. It has a wide variety of fonts to choose from. You include these fonts in your project using the tag or by using the @import rule in your CSS which points to the Google Fonts CDN.
https://www.amitmerchant.com/google-fonts-as-npm-packages/