Optimizing font loading - fonts loading too many times

Solved
Tytti
New Member
2 0 0

Hello, 

I was told that my store www.ellynaturals.pl loads 7-8 times same fonts which has effect on site speed. I have no idea how to solve this issue, so that only the necessary would be preloaded (or whatever is the best for speed load. Can anyone help?

 

Best Regards,

Tytti

 

 

0 Likes
oreoorbitz
Shopify Partner
97 10 63

This is an accepted solution.

This the link you have for google fonts:

https://fonts.googleapis.com/css?family=Montserrat:100,200,300,400,500,600,700,800,900%7CGotu:100,20...

See you have Montserrat: 100,200,300,400,500,600,700,800,900?

So google is generating links of Montserrat, 100, 200, 300, you get the idea.

Your not loading the same font 9 times, your loading 9 different versions of the font.

If your using all font of those font sizes, then keep it how it is, if you aren't using all those sizes, and you don't think you will, remove the unneeded sizes.

Available for freelance. I specialize in speed improvement and theme development.
https://www.upwork.com/fl/orionholmes
0 Likes
Tytti
New Member
2 0 0

Thank you so much - makes total sense. Have a great day! Br, Tytti

0 Likes