5 ms·
A $5 VPS comes with several gigabytes of storage. A standard web font (e.g. Roboto) is ~1MB. Bandwidth is essentially free through CloudFlare. Who doesn't have
by Youden 5y ago
A $5 VPS comes with several gigabytes of storage. A standard web font (e.g. Roboto) is ~1MB. Bandwidth is essentially free through CloudFlare. Who doesn't have the space or money to self-host their fonts?
- kalleboo 5y agoIs it really better to tunnel your whole site through CloudFlare than embed a font from Google, from a privacy perspective?
- krehl 5y agoThis as well would "leak" the IP address to Cloudflare, wouldn't it?
- hammyhavoc 5y agohttps://www.cloudflare.com/en-gb/trust-hub/gdpr/ https://www.cloudflare.com/en-gb/trust-hub/gdpr/
- cuu508 5y ago> A standard web font (e.g. Roboto) is ~1MB. Currently on HN frontpage there is an article "How to avoid layout shifts caused by web fonts" [1]. It lists several techniques you can use to reduce font size. One of the examples shows how subsetting reduces Roboto Regular size to 11KB. [1] https://simonhearne.com/2021/layout-shifts-webfonts/ https://simonhearne.com/2021/layout-shifts-webfonts/.
- skyeto 5y ago(in reply to krehl) And in that specific case you should probably have a DPA ready. Big issue with anything Google-related (and probably CloudFlare) is that they may transfer the data outside of the EU[0]. [0] https://noyb.eu/en/austrian-dsb-eu-us-data-transfers-google-analytics-illegal https://noyb.eu/en/austrian-dsb-eu-us-data-transfers-google-...
- Andrew_nenakhov 5y agoI wonder if you can get penalized for sending users' IPs to CloudFlare..
- hammyhavoc 5y agohttps://www.cloudflare.com/en-gb/trust-hub/gdpr/ https://www.cloudflare.com/en-gb/trust-hub/gdpr/
- redleader55 5y agoYou're probably liable to pay the plaintiff 100 EUR for leaking their IP address to CloudFlare, as well as paying 100 EUR for leaking it to Azure/AWS/etc. /partially sarcasm
- Ekaros 5y agoI'm really starting to question why aren't we using fonts that are standard part of browsers? Just have a reasonable sub-set supported by everyone. This would be great climate action too as we would not be wasting energy to redownload them billions if not trillions of time.
- hammyhavoc 5y agoAgreed. But why not update what ships with modern OS so that these fonts can be used system-wide? Open Sans, Noto Sans and Roboto for everybody.
- ratww 5y agoThe Roboto woff2 file is actually only 16kb for each variation, and that's the format most browsers will use in practice.