When Using Fonts Prioritize Format Load Order
I recently re-designed my website and switched from bloated Avada to lean Genesis. When I was re-designing this site, the Genesis theme was loading I
There were some issues with this implementation that I had to address. The Ionicons' CSS file was calling for the .ttf version of the font-files. The issue with this is the .ttf version of the font file is much larger than the .woff or .woff2 version.
TTF: 184.09KB
WOFF: 66.31KB
WOFF2: 51.35KB
Cool! But What Was The Problem?
Great question. The default Ionicons CSS file lists the .ttf version of the font files. Most people assume the browser downloads the smallest version. However, that is not what happens. The browser scan the CSS file for the first supported file type for the website's font files.
This is problematic as most modern browsers support .woff files which are 1/3 the size. The latest versions of many browsers also support .woff2. This saves even more previous bytes and concurrently improving your website's load time.
Interesting I Guess. But What Should I Do?
If you are loading any variations of fonts from your domain, for example Font Awesome, make sure you are loading the @font-face rules as follows. This allows for optimal support and compression.
.eot (Fix for those stuck on Internet Explorer)
.woff2
.woff
.ttf
.svg
Just make sure to include all the same font-face rules and use the most compressed versions of the font files first. By loading the most compressed font files first, you avoid having to download unnecessary bytes of information. You will also keep the widget support in the above approach, so it is a win-win situation no matter what.
Scott Hartley
Founder & CEO, Sert Media
Founder and CEO of Sert Media, a Nashville-based digital marketing agency. Scott has spent over 15 years helping businesses grow through SEO, web performance optimization, and strategic digital marketing. His deep expertise in WordPress development, site speed, and technical SEO has guided hundreds of brands toward measurable results. When he's not auditing Core Web Vitals or refining campaign strategies, he's writing about the tools, techniques, and trends shaping the modern web.
Related Articles
How to Add Security Headers to WordPress Using Cloudflare Transform Rules
If you've ever run your WordPress site through securityheaders.com and gotten a D or F…
Use This Cloudflare Rule To Reduce Plugin Hack Attempts
Cloudflare Firewall Rules give you a lot of flexibility in further protecting your website. Here…
Set Up Cloudflare's Automatic Platform Optimization Feature
Automatic Platform Optimization (APO) is a new feature from Cloudflare that allows you to cache…