What are render-blocking resources?

Render-blocking resources are stylesheets and scripts the browser must download and process before it can draw anything on screen, delaying the first view of a page.

Want to know where your site stands on render-blocking resources?

I’ll test your site on a real mid-range phone profile and send you the two or three fixes that matter most, free.

No newsletter. Just what you asked for, from me. Privacy

In plain English

When the browser reads a page’s HTML and hits a stylesheet or a script in the head, it often pauses drawing until that file arrives. Each one adds a wait. Fonts loaded from third-party services can add another chain of requests.

Fixes include adding defer to scripts, inlining the small amount of CSS needed for the first screen, and removing files the page doesn’t use.

Why it matters for a small business

This is often why a page shows a blank white screen for a moment before everything appears at once. It hurts LCP and first impressions. On sites assembled from many plugins, each plugin may add its own blocking files to every page.

An example

A Mississauga mortgage broker’s WordPress homepage loads 14 stylesheets in the head, including ones for a slider, a gallery and a form that only appear on other pages. Loading those only where they’re used, and deferring the chat script, lets the homepage start drawing much sooner.

Common mistakes

Where I see render-blocking resources go wrong most often.

  1. Adding scripts to the head by default when they could load after the page renders.

  2. Loading a whole icon library to show four icons.

  3. Using async on scripts that depend on each other, which can break features in random order.

FAQ

Render-blocking resources, answered

  1. Most site scripts can be deferred safely. The exceptions are small scripts the first screen genuinely needs to display correctly.

  2. Stylesheets in the head are, by design, so the page doesn’t flash unstyled. The goal is to keep that critical CSS small.

Keep reading

Let’s begin

Let’s build something you’re proud to share.

Let’s Talk