Archived topic
Loading Extra font in GTMetrix Waterfall
12 replies · Started by Suraj Katwal on December 13, 2019
I was checking my site and saw extra font loading in GTMetrix Waterfall.
In Customization > Typography. I am using Questrail font but GeneratePress.woff2 is loading.
Is it a fallback font or Is there any case.
Can I remove the extra font?
Thank you
https://i.imgur.com/BtvNDF1.png
You can switch to icon type SVG (Customizer -> General -> Icon Type SVG). Then, the font is not loaded.
See also https://generatepress.com/forums/topic/svg-icons-what-does-that-mean-exactly/#post-924678
Thanks Daniel that will remove the font entirely :)
Thank you Daniel & David. Works like a charm. So, what if we host font locally?
Will it cause a problem in the future?
The generatepress.woff2 is served locally - the SVG method is the best route to go.
The other google font you can of course serve locally if you want:
which is the best format to use while using font locally? woff or woff2?
WOFF2 has better compression but unlike WOFF is not supported by Internet Explorer.
To use WOFF2 you would need to include a supported font type.
Thanks
You're welcome
Just used Local fonts using only woff2.
Do I need to use woff for Internet Explorer?
Thank you
For IE 10 and 11 yes, WOFF will do.
You could take a look at Google Font Helper. You can download Google fonts and it gives you al the info needed to host fonts locally with support for various browsers.
Thanks, I have already implemented Local Fonts on my website.