Faster Font Loading with Font Events — Jonathan Suh
▻https://jonsuh.com/blog/font-loading-with-font-events
#FOIT is a result of the browser timing out by displaying text in a default font after attempting to load a web font. During its attempt to load the web font, the browser hides the text for a period of time, usually a few seconds but is known to go up as high as 30 seconds.
(…)
This is where #Font_Load_Events come in, which is designed to do just that. Bram Stein created Font Face Observer, a lightweight (2.7KB minified, 1.1KB gzipped) polyfill for the font event API to allow you to detect if and when a font has been loaded.