Preload @Font-Face Fonts to stop Firefox Flicker/Delay

Erik picture Erik · Jul 31, 2010 · Viewed 17.7k times · Source

Has anyone figured out how to preload the fonts to stop the flicker/delay?

Answer

Chris_O picture Chris_O · Sep 4, 2010

There has been a lot of discussion regarding this issue which Paul Irish calls FOUT (flash of unstyled text). There are numerous ways to limit this by

1 Putting CSS at the very top of the page before any script tags

2 Minimizing the size of the font file

3 Browser Caching with far future expires headers

4 Gziping your CSS and font file (WOFF can't be gzipped)

Paul Irish has a great article about this: Fighting the @font-face FOUT

Steve Souders also has a great article on his High Performance Websites blog: @font-face and performance