Magento 2 font optimization

Every magento 2 store needs fonts to display and style text. Like other static assets it take size. It effects performance if not downloaded before text required it. I am adding few suggestions 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(check this link)
  4. Use proper caching for fonts(check this link)
  5. Use less variants of fonts

Leave a Comment

Your email address will not be published. Required fields are marked *