Through not as intense as images and videos, using a CDN to deliver fonts can help in lowering bandwidth utilization.
Using a CDN
For starters, consider storing lager static assets on the same CDN/hosting platform. This not only creates a convenient way to manage your assets, but also provides an optimized source for serving larger files. For ideas on where to host fonts, see our article on storing static assets.
Google Fonts
Additionally, another great source of typography is Google Fonts. Not only is there a large selection of fonts, across several styles and languages, but the actual files containing the fonts are served by Google.
When using this method there are some things to be aware of. First, you can either download the fonts locally, or link to them. Our recommendation — if you're looking to save bandwidth — is to link to the font. Another consideration is how many fonts you are using. While Google's servers are likely very efficient, the more fonts you have on a page, the more content users have to wait on.
Curious about your bandwidth usage? See our article on monitoring your bandwidth usage (in Vercel).
Comments
0 comments
Please sign in to leave a comment.