Remove render-blocking scripts and styles

Let the browser paint first, load everything else after.

What it means

A render-blocking script or stylesheet sits in the page head and forces the browser to download and execute it before painting anything. Visitors stare at a blank screen until it finishes.

Why it matters

Blocking resources delay every single visitor on every single visit. Removing them is usually a few lines of HTML and often cuts time-to-first-paint dramatically.

How to fix it

  1. Add the defer attribute to every <script> in the head that isn't needed to render the initial view.
  2. Move analytics and marketing tags into a tag manager configured to load after page interaction.
  3. Inline the small amount of CSS needed for the first screen (critical CSS) and load the rest asynchronously.
  4. Remove plugins/tag-manager entries you no longer use — dead tags are the most common offender.

Helpful tools

Not sure if this affects your site? Analyze your website for free or compare it with a competitor.

Related guides

Browse all 38 fix guides