4 ms·
You could get your own hosting, and not use Cloudflare. You could then host the font on your own site. My site doesn't load any files from a different domain s
by TacoSteemers 6y ago
You could get your own hosting, and not use Cloudflare.
You could then host the font on your own site.
My site doesn't load any files from a different domain since I removed the Twitter share button javascript[0], except for one page.
I moved the mailchimp signup to a separate page to isolate their JS code to just that page.
[0] https://tacosteemers.com/articles/2020-08-30-twitter-share-button-does-not-need-javascript.html https://tacosteemers.com/articles/2020-08-30-twitter-share-b...
- TacoSteemers 6y agoTo add to my answer: If we depend on other people's hosting and themes then we just kind of have to accept what they offer. But getting our own hosting doesn't have to be difficult. There are many cheap providers that give sftp access, for example. Pelican comes with a script for uploading to sftp.
- oneeyedpigeon 6y ago> You could then host the font on your own site. Only if you have a licence for it — font licences are typically prohibitively expensive for individuals' use.
- detaro 6y agoAll Google Fonts are open-source.
- oneeyedpigeon 6y agoThat's ... interesting. I must admit, I think somewhere in the back of my mind I knew that, but I'm so used to font services requiring to be used remotely, I hadn't even really considered that. So there's absolutely no breach of any kind of law or terms if you host them locally? That could be a game-changer, thanks!
- onion2k 6y agoSo there's absolutely no breach of any kind of law or terms if you host them locally? Open source doesn't necessarily mean free to use for whatever you want. Which licence a font on Google Fonts uses varies - common ones are Apache and Open Font Licence, but you should check the licence file in any font pack you download.
- ficklepickle 6y agoYou can 'npm install' any of the google fonts, there are a variety of options like webpack plugins. The only thing you miss out on is apparently they serve slightly different variants to different OS/device types if you use google directly. Personally, I avoid third-party requests. CDNs are so HTTP1.1.
- detaro 6y agoThe licenses used are quite liberal, so pretty much. (I'm not a lawyer)