How to eliminate render-blocking resources

How to fix 'Eliminate render-blocking resources' in PageSpeed Insights: what blocks rendering, critical CSS, deferring scripts, fonts and practical WordPress fixes.

Usman Muhammad UsmanUpdated October 13, 2026
How to eliminate render-blocking resources

‘Eliminate render-blocking resources’ is one of the most common suggestions in PageSpeed Insights. It means the browser has to download and process certain files before it can show anything on screen. Fixing it speeds up First Contentful Paint and Largest Contentful Paint. Here is what causes it and how I fix it on WordPress sites.

What render-blocking means

When a browser loads a page, it reads the HTML from top to bottom. Stylesheets linked in the head and scripts without defer or async stop rendering until they are downloaded and processed. The browser does this so the page does not appear unstyled or broken.

Every render-blocking file adds delay, especially on slow mobile connections. Large stylesheets from themes and page builders, and scripts placed in the head by plugins, are the usual culprits.

Find the blocking files

PageSpeed Insights lists render-blocking resources with their sizes and estimated savings. The waterfall in WebPageTest or the Network tab in Chrome DevTools shows when each file loads and whether it blocks rendering.

Note which files come from the theme, which from plugins and which from third parties. This tells you whether to change settings, remove plugins or adjust how scripts load.

Fixing render-blocking
  1. 1Find filesPageSpeed and waterfall
  2. 2Defer scriptsFooter or defer
  3. 3Critical CSSInline first screen
  4. 4Unused CSSRemove per page
  5. 5Fonts and third partiesSelf-host, async

Defer JavaScript

Most JavaScript does not need to run before the page is displayed. Adding the defer attribute lets the browser keep parsing HTML and run the script afterwards, in order. Performance plugins can add defer to all scripts automatically, with exclusions for those that must run early.

Move scripts to the footer where possible. WordPress lets developers enqueue scripts in the footer or with a defer strategy. See minifying and deferring CSS and JavaScript for safe settings.

Inline critical CSS

CSS is render-blocking by design, because the browser needs styles before painting. The solution is to inline the small amount of CSS needed for the first screen, called critical CSS, directly in the HTML, and load the full stylesheet asynchronously.

Plugins such as WP Rocket, LiteSpeed Cache and Perfmatters can generate critical CSS per template. Check pages after enabling it for brief flashes of unstyled content, and regenerate after design changes.

Remove unused CSS

Themes and page builders often load stylesheets containing styles for every possible widget and layout, while each page uses a fraction. Removing unused CSS per page reduces the amount of render-blocking CSS significantly.

This option can remove styles for elements that appear later, such as menus or popups. Test interactive parts of each template. See reducing unused JavaScript and CSS.

Load plugin assets only where needed

Many plugins add CSS and JavaScript to every page, even where their features are not used. A form plugin’s styles on every page, or a slider’s scripts on pages without sliders, block rendering unnecessarily.

Use an asset manager such as Perfmatters or Asset CleanUp to disable plugin files on pages that do not need them. This is often one of the most effective fixes for render-blocking issues.

Fonts

Font stylesheets from Google Fonts are render-blocking because they are linked CSS files. Self-host fonts and include the font-face rules in your main stylesheet or inline them, and use font-display swap so text renders while fonts load.

Preload the main font file to speed it up, but avoid preloading many files. My guide to loading web fonts explains each step.

Third-party scripts in the head

Tag managers, analytics, A/B testing tools and chat widgets are often placed in the head. Most of these should load asynchronously or be delayed. A/B testing tools sometimes block rendering deliberately to avoid flicker, which has a speed cost.

Review every script in the head and ask whether it must run before the page is shown. Load the rest asynchronously or after interaction. See third-party scripts performance.

Theme and builder choices

Some themes and builders produce far more render-blocking CSS than others. Lightweight themes and the block editor, which loads styles only for blocks used on the page, produce much less. If render-blocking resources remain a major issue after optimisation, the theme may be the root cause.

Elementor’s improved asset loading and other performance features reduce render-blocking files. Enable them and test. See how to speed up an Elementor website.

Do not chase zero

Some render-blocking CSS is unavoidable and necessary. The goal is to make the critical path as small and fast as possible, not to eliminate every warning. Focus on improvements that move LCP and First Contentful Paint for real users.

A page with a small amount of render-blocking CSS that loads quickly is perfectly fine. Measure the result rather than the number of warnings.

Getting help

Fixing render-blocking resources without breaking layouts requires careful testing. I handle this as part of my speed optimization service, alongside image, caching and hosting improvements.

For a broader view, read how to read a PageSpeed Insights report and how to improve LCP.

Key takeaways

  • Render-blocking files delay the first paint until they load.
  • Defer JavaScript and inline critical CSS for the first screen.
  • Load plugin assets only on pages that need them.
  • Aim for a small, fast critical path rather than zero warnings.

Frequently asked questions

What does 'eliminate render-blocking resources' mean?

Files that must load before the page can display, usually CSS and scripts in the head, are slowing rendering.

Can I remove all render-blocking CSS?

Not entirely. Some CSS is needed for the first screen. Inline it and load the rest later.

Is Google Fonts render-blocking?

Yes, the font stylesheet is. Self-hosting and inlining font rules helps.

Will deferring scripts break my site?

Usually not, but some inline scripts depend on deferred libraries. Test and exclude if needed.

Which plugin fixes render-blocking resources?

WP Rocket, LiteSpeed Cache, Perfmatters and similar tools offer critical CSS, deferring and unused CSS removal.

Does render-blocking affect Core Web Vitals?

Yes. Render-blocking files delay First Contentful Paint and often Largest Contentful Paint, which is a Core Web Vital. Reducing them is one of the most common ways to improve LCP on WordPress sites.

Free website audit

Get a free audit of your website

Tell me your URL and I'll send a short, prioritized list of the speed, SEO and security fixes that will make the biggest difference.

  • No obligation, no sales call
  • 5.0 rating on Google and Upwork
  • Reply within one business day
Written by Muhammad UsmanWeb Development Team Lead with 5+ years building WordPress, WooCommerce, Shopify and Wix websites. Experience · Certificates About me

More on Speed & Core Web Vitals

All Speed & Core Web Vitals articles

Have a project in mind?

Tell me what you're building and I'll reply with next steps and an estimate.