reanahub / reana-ui

REANA UI frontend
http://reana-ui.rtfd.io
MIT License
4 stars 33 forks source link

performance: host fonts locally #171

Open mvidalgarcia opened 3 years ago

mvidalgarcia commented 3 years ago

At the moment we're loading font via Google Fonts. This used to be pretty convenient as it was properly cached among all sites loading that same font from Google Fonts.

However, from 2021, browsers are implementing "Cache Partitioning" for privacy reasons, meaning that cache won't be shared among different sites. You can read more about this topic in this article.

So, the recommended way is self-hosting fonts ourselves, which is allowed as long as they are open-sourced.