Skip to main content
In the News
Intermediate3 min readApril 21, 2026

Why Your Website Takes Too Long to Show Text (and How to Fix It)

By Brant Hindman

Why Your Website Takes Too Long to Show Text (and How to Fix It)

Your website takes too long to show text because a CSS @import for Google Fonts blocks rendering until the font files download. The fix is build-time font optimization for frameworks like Next.js, or preconnect hints plus display=swap for any other site, which drops first paint under 200 milliseconds.

You open your website and for 1 to 2 seconds, either nothing appears or the text flashes in a default font before switching to the real one. This is not a slow server. It is a font loading problem.

The most common cause is loading Google Fonts with a CSS @import statement. This creates a blocking request chain: the browser cannot render text until it downloads the CSS file and then the font files. Two separate round trips before visitors see anything.

For modern frameworks like Next.js, the fix is using the built-in font optimization that downloads and hosts the font files at build time. Zero external requests at page load. First paint drops to under 200 milliseconds.

For any other website, the fix is adding preconnect hints to the Google Fonts domain and loading the font stylesheet with display=swap, which shows a fallback font immediately and swaps in the custom font when it loads. No more blank page.

website speedpage load timefont loadingweb performanceCore Web Vitals

Why does my website flash blank or unstyled text on load?

It is not a slow server, it is a font loading problem. For one to two seconds the page shows nothing or flashes a default font before switching to the real one, because the font files have not loaded yet.

What causes the font loading delay?

The most common cause is loading Google Fonts with a CSS @import statement, which creates a blocking request chain: the browser cannot render text until it downloads the CSS file and then the font files, two separate round trips before visitors see anything.

How do you fix slow font loading?

For modern frameworks like Next.js, use the built-in font optimization that downloads and hosts the fonts at build time, dropping first paint under 200 milliseconds. For any other site, add preconnect hints to the Google Fonts domain and load the stylesheet with display=swap so a fallback font shows immediately.

Want to see these systems in action?

Start with a conversation. We will walk through how these workflows apply to your business.

Get your AI Roadmap