Font optimization to avoid invisible text

Every Magento 2 store needs fonts to display styled text. Like other static assets it use bandwidth. It affects performance, if do not download before text required it. I am adding few suggestions for font optimization and some resources links as well. I will keep updated information for font here

  1. Try to use google font (why? read this link)
  2. Use no more than two fonts and check their size as well.
  3. Load them on priority basis using preload and swap to avoid invisible text during font loading (check this link)
  4. Use proper caching for fonts (check this link)
  5. Use less variants of fonts

You can check complete speed optimization guide Magento 2 speed optimization

0 0 votes
Article Rating
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
1
0
Would love your thoughts, please comment.x
()
x