by SquareWheel · 4y ago · 0 comments
This is not an efficient approach. Base64 will make the fonts about 30% bigger, and webfonts are already too big. The fact that it's in CSS also means that it's now render blocking, and font-display can't be used.
You're likely delaying your render time versus standard font loading. Do a comparison in WebPageTest and examine the waterfall.
Does this actually change the transmitted size significantly?
100KB for a font is a lot of data on a website. I'm using a custom subsetted version of Source Sans Pro at just 6.7KB.