Uploaded December 2018 | Updated November 2026, 2 days ago
Sponsored by: Coursera.org, thanks! Get the world's best online education experience on subjects such as Data Science, Business, Blockchain, you name it at Coursera! go.thoughtleaders.io/721720181207
After a lot of experimentation I've come across my preferred way of loading web fonts. I have balanced ease of use, i.e. how to implement, with performance.
πΏ MILESTONES
β― 01:15 π΅ Fixing errors: HREF instead of SRC
β― 03:48 Introducing font-display: swap; π¦ΈββοΈ
β― 08:30 Baseline without web fonts (Wikipedia style)
β― 09:24 Late preload with font-display: swap;
β― 12:00 PERFORMANCE COMPARISON & DISCUSSION π
β― 17:59 My actual recommendation βοΈ
Demo of examples
π https://dt-font-loading-d0mbbgpid.now.sh/
Repo with the examples
π github.com/chhib/dt-font-loading
The Font Loading Checklist by Zach Leatherman
βοΈ zachleat.com/web/font-checklist
The Five Whys of Web Font Loading Performance (video)
βΆοΈ zachleat.com/web/five-whys
The editor is called Visual Studio Code and is free. Look for the Live Share extension to share your environment with friends.
π» code.visualstudio.com
DevTips is a weekly show for YOU who want to be inspired π and learn π about programming. Hosted by David and MPJ - two notorious bug generators π and teachers π€. Exploring code together and learning programming along the way - yay!
DevTips has a sister channel called Fun Fun Function, check it out!
β€οΈ youtube.com/funfunfunction
#webfonts #performance #css
Sponsored by: Coursera.org, thanks! Get the world's best online education experience on subjects such as Data Science, Business, Blockchain, you name it at Coursera! go.thoughtleaders.io/721720181207
After a lot of experimentation I've come across my preferred way of loading web fonts. I have balanced ease of use, i.e. how to implement, with performance.
πΏ MILESTONES
β― 01:15 π΅ Fixing errors: HREF instead of SRC
β― 03:48 Introducing font-display: swap; π¦ΈββοΈ
β― 08:30 Baseline without web fonts (Wikipedia style)
β― 09:24 Late preload with font-display: swap;
β― 12:00 PERFORMANCE COMPARISON & DISCUSSION π
β― 17:59 My actual recommendation βοΈ
Demo of examples
π https://dt-font-loading-d0mbbgpid.now.sh/
Repo with the examples
π github.com/chhib/dt-font-loading
The Font Loading Checklist by Zach Leatherman
βοΈ zachleat.com/web/font-checklist
The Five Whys of Web Font Loading Performance (video)
βΆοΈ zachleat.com/web/five-whys
The editor is called Visual Studio Code and is free. Look for the Live Share extension to share your environment with friends.
π» code.visualstudio.com
DevTips is a weekly show for YOU who want to be inspired π and learn π about programming. Hosted by David and MPJ - two notorious bug generators π and teachers π€. Exploring code together and learning programming along the way - yay!
DevTips has a sister channel called Fun Fun Function, check it out!
β€οΈ youtube.com/funfunfunction
#webfonts #performance #css










