yousinix / portfolYOU

A beautiful portfolio Jekyll theme that works with GitHub Pages.
https://yousinix.github.io/portfolYOU
MIT License
1k stars 598 forks source link

Preload fonts to improve performance #56

Open bhattumang7 opened 4 years ago

bhattumang7 commented 4 years ago

I analysed my website on Google analytics. It showed me that the fonts are loaded much later. So, is it possible to make two changes?

  1. While the fonts are being loaded (https://developers.google.com/web/updates/2016/02/font-display), is it possible to show default font?
  2. Can we preload the fonts to improve performance?

Thank you.

aboutgunin commented 2 years ago

Hi, As of now I dont think HTML CSS OR JS provide such support for preloaded fonts

jakechoulj commented 2 years ago

On the discussion of fonts, how can I change the font in the file?