Render-blocking resources are stylesheets and scripts that the browser must download and process before it can show anything on the screen, so a visitor stares at a blank page while they load. The page speed warning “Eliminate render-blocking resources” lists them. The fix is to load only what the first view needs straight away and move everything else out of the way.
What are render-blocking resources? #
When a browser reads your HTML, it builds the page step by step along the critical rendering path. Some files make it stop and wait. The web.dev article on render-blocking CSS puts it simply: by default, CSS is treated as a render-blocking resource. The browser holds back the first paint until the styles are ready, so it does not flash an unstyled page.
Scripts can block too. Chrome’s documentation for the render-blocking resources audit says a <script> tag is flagged when it sits in the <head> and has neither a defer nor an async attribute. A <link rel="stylesheet"> is flagged when it is not disabled and its media setting matches the visitor’s device; media="all" counts as blocking.
Is the warning still called that? #
In the newest Lighthouse it has a new home. Chrome’s page says the audit moved into the “Render-blocking requests” insight as of Lighthouse 13, and the notice on moving Lighthouse to insights shows render-blocking-insight replacing render-blocking-resources. Many tools and older reports still show the old wording, so you may meet either.
Why does it matter for search? #
A page that shows nothing for 2 seconds feels broken, and people leave. Blocking files delay First Contentful Paint and often Largest Contentful Paint, one of the Core Web Vitals. The web.dev guide to optimising LCP notes that stylesheets loaded from the HTML block rendering of all content that follows them, says it is almost never necessary to add synchronous scripts to the head, and puts good LCP at no more than 2.5 seconds on three in four visits or better. Page speed is not the only ranking signal, but it shapes user experience and conversion rate.
Why does it matter for AI answers? #
Most AI crawlers fetch the raw HTML and do not run your scripts, so a blocking script does not stop them reading text that is already in the HTML. The bigger risk is content that only appears after JavaScript runs: a crawler that does no rendering may see an empty shell. Keep key facts in the HTML itself. See JavaScript SEO and technical SEO for AI search.
How do I fix it? #
Scripts #
- Add
deferto scripts that need the page built first. MDN’s script reference says deferred scripts run after the document has been parsed, before the DOMContentLoaded event, in the order they appear. - Add
asyncto independent scripts, such as some analytics tags. MDN notes they run as soon as they arrive, with no promise of order. - Know the edge cases. MDN says both attributes have no effect on inline scripts, and module scripts are deferred by default. See async and defer scripts.
- Remove what you do not use. Old sliders, chat widgets and tag-manager leftovers are common. Chrome suggests the Coverage tab in DevTools to spot unused code.
Stylesheets #
- Inline the critical CSS, the small set of rules for what shows at the top, in a
<style>block, and load the rest without blocking. Chrome’s page names preload as one way to do this. - Use media attributes. web.dev’s example is a print stylesheet with
media="print": the browser still downloads it, at a lower priority, but does not wait for it before painting. - Minify and compress what remains, with gzip or Brotli on the server.
- Cut font and icon libraries loaded from other servers for one or two icons.
What are the common mistakes? #
- Deferring a script the page needs to look right. A menu or banner that depends on it can jump about, which hurts Cumulative Layout Shift.
- Making everything async. Scripts that depend on each other can then run in the wrong order and break.
- Inlining all the CSS. A 300 KB style block in every page is just a heavier blocking file.
- Testing only on desktop broadband. The delay is worst on a mid-range phone on mobile data.
- Stacking speed plugins. Two plugins rewriting the same files can undo each other or break the site. Clear the cache and test after every change.
A worked example #
A small accountancy firm’s WordPress home page loads 9 files in the head: 4 stylesheets from the theme and plugins, 2 Google font files, a jQuery library, a slider script and a cookie banner script, none deferred. On a phone the screen stays white for a long moment before the text appears.
They make 4 changes. The slider is removed, because the home page now uses one image. jQuery and the theme script get defer, and the site is tested to make sure the menu still works. The critical CSS for the header and first section is inlined, and the main stylesheet is loaded without blocking. The fonts are hosted on the firm’s own server with fewer weights. The report now lists 1 blocking file instead of 9, and text appears sooner on the next phone test. The firm notes each change and re-checks after the next theme update, since updates can bring blocking files back.
How do I check it? #
- Use our free JavaScript SEO checker to see what a page needs scripts for and what is already in the HTML.
- See which plugins and libraries load with the tech stack checker, and check compression and caching with the HTTP header checker and the cache checker.
- Shrink scripts with the JavaScript minifier and work out Core Web Vitals targets with the Core Web Vitals calculator.
- Two more tools are on the way: a Core Web Vitals checker (coming soon) and a page speed checker (coming soon). For live testing today, use PageSpeed Insights or Lighthouse in Chrome.
Questions #
Can I remove every render-blocking resource? #
Rarely, and you should not try. Some CSS must block so the page does not flash unstyled. The aim is to keep the blocking set small.
Does a CDN fix it? #
A CDN makes files arrive faster, but a blocking file is still blocking. Fix the order first.
Is this the same as total blocking time? #
No. Total Blocking Time measures long tasks on the main thread after loading starts. Render-blocking is about the wait before the first paint.
Related words #
Sources #
- Chrome for Developers: Eliminate render-blocking resources, checked 25 November 2026
- Chrome for Developers: Moving Lighthouse to performance insights, checked 25 November 2026
- web.dev: Render-blocking CSS, checked 25 November 2026
- web.dev: Optimise Largest Contentful Paint, checked 25 November 2026
- MDN: The script element, checked 25 November 2026
Updated 25 November 2026 by URSY.
Cite this page: Render-blocking resources. URSY. Updated 25 November 2026. https://ursy.com/wiki/render-blocking-resources/ · Section links
Tools for this
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →
- ProJavaScript rendering checkWhat bots that don't run JavaScript missIn URSY Pro →