match4everyone / match4everything

Other
7 stars 0 forks source link

Replace m4h fonts with Google web fonts #77

Open maltezacharias opened 4 years ago

maltezacharias commented 4 years ago
maltezacharias commented 4 years ago
bjrne commented 4 years ago

Is there any alternative to Google web fonts to circumvent the GDPR issues and provide a data economical starting point?

maltezacharias commented 4 years ago

We can just download them and serve them ourselves, that is no problem, that's what the todo Include in statics is for. It would be beneficial to include them from the CDN, because that way it could probably take advantage of client side caching but we are in agreement about GDPR issues with that.

Baschdl commented 4 years ago

@maltezacharias How big is such a font? The CDN usage is a general topic also regarding javascript

maltezacharias commented 4 years ago

About 100k, but that is not a big issue here. We can easily load the font asynchronously https://barryvanveen.nl/blog/21-loading-a-google-webfont-asynchronously#:~:text=Just%20like%20stylesheets%20and%20Javascript,with%20a%20slower%20internet%20connection.