Self-host your fonts for better performance
71–80 of 417 posts
Re: Self-host your fonts for better performance
#72The convenience is the major factor. When self hosting, you have to manually take into account stuff like font format, fallbacks for older browsers, preloading considerations, hinting or no hinting, variable or not variable, and manage the (often long) CSS yourself, and keep it updated as browser compatibility and technology changes. Google does all this for you with the inclusion of a single line. But yes, the drawb…
Re: Self-host your fonts for better performance
#73The convenience is the major factor. When self hosting, you have to manually take into account stuff like font format, fallbacks for older browsers, preloading considerations, hinting or no hinting, variable or not variable, and manage the (often long) CSS yourself, and keep it updated as browser compatibility and technology changes. Google does all this for you with the inclusion of a single line. But yes, the drawb…
(Simplified font definition and usage standard.)
Re: Self-host your fonts for better performance
#74Earlier quoted context omitted.
If you want a really fast web experience, try disabling images and javascript too! (on rereading this I sounded sarcastic, but I really wasn’t trying to be)
uBlock Origin has a setting to prevent loading elements above certain size. I personally find it to be a nice middle ground. https://github.com/gorhill/uBlock/wiki/Per-site-switches#no-...
Re: Self-host your fonts for better performance
#75I've always wondered the legality of downloading web fonts from Google Fonts and self-hosting them. At first glance it probably doesn't sound like a problem, I get it's effectively the same as serving them from Google, but I know fonts can also sometimes have strange licensing requirements… so I always figured it was safer just to avoid it entirely.
"The open source fonts in the Google Fonts catalog are published under licenses that allow you to use them on any website, whether it’s commercial or personal."
https://developers.google.com/fonts/faq
This would be the opportunity for them to tell us that applies only to fonts delivered via CDN. On the contrary, they later recommend self-hosting.
Re: Self-host your fonts for better performance
#76I'm usually the first one to sneer in disbelief at super users who 'go nuclear' and disable the likes of javascript and images when browsing the web, but lately, I've been experimenting with having custom fonts disabled (that is, fonts I don't have locally), and it feels to me that page loads are much faster, and in some case more readable (pages feel 'cleaner'?). The only issues I've come across so far is when a sit…
Re: Self-host your fonts for better performance
#77Re: Self-host your fonts for better performance
#78Re: Self-host your fonts for better performance
#79Re: Self-host your fonts for better performance
#80Earlier quoted context omitted.
How does one do this for chrome/firefox? Google search gives result for the opposite problem.
firefox options -> language and appearance -> advanced -> uncheck 'Allow pages to choose their own fonts, instead of your selections above'
It's annoying to hit a page with a video player, and all the buttons are little boxes with numbers in them because the icon font didn't load...