On this page
What this issue is
A browser builds a page by reading your HTML from top to bottom. When it meets a stylesheet or a plain <script> tag in the <head>, it pauses drawing the page until that file has been downloaded and, for scripts, run. These files are called render-blocking resources.
Stylesheets block rendering by design, because the browser does not want to show unstyled content. Scripts block because they might change the page while it is being built. The problem starts when files that are not needed for the first screen still sit in the way.
Common culprits: large theme or plugin stylesheets, tag manager and chat widget snippets placed in the head, jQuery and slider libraries, and web font CSS files.
Why it costs you leads or sales
While blocking files load, visitors see a blank or half-drawn page. On a slow mobile connection that wait can be long enough for them to leave before your form or buy button appears. It also pushes back Largest Contentful Paint (LCP), the time until the main content shows, which is a Core Web Vitals metric Google uses as a page experience signal.
The impact is usually modest on its own, so we rate it low. It adds up when combined with heavy pages, many third-party scripts and slow servers.
- HTML starts loadingBrowser reads the head
- Blocking CSS/JSLarge files must download and run first
- First paintPage stays blank until now
- Form or CTA visibleSome visitors have already left
The browser stops at the blocking file, so everything after it waits.
Example: illustrative numbers on a slow mobile connection, not measured data.
How to check if your site has it
Run PageSpeed Insights
Go to pagespeed.web.dev, enter a key page such as your landing page, and choose the Mobile tab.
Open the diagnostics
Look for the audit named 'Render blocking requests' (older reports call it 'Eliminate render-blocking resources'). It lists each file and its estimated delay.
Cross-check in Chrome DevTools
Open DevTools, go to the Network tab, reload, and look at the waterfall. Files requested before the first paint with a long bar are likely blockers. The Performance panel also marks render-blocking requests.
Check the source
View page source and look in the head for
<link rel="stylesheet">and<script src>tags withoutdefer,asyncortype="module".
How to fix it
The general approach is the same everywhere: load scripts without blocking, load only the CSS needed for the first screen up front, and remove what you do not use.
| Attribute | Behaviour | Use for |
|---|---|---|
| defer | Downloads in parallel, runs after the HTML is parsed, keeps order | Your own scripts and libraries that depend on each other |
| async | Downloads in parallel, runs as soon as ready, order not guaranteed | Independent scripts such as analytics |
| type="module" | Deferred by default | Modern JavaScript bundles |
<!-- Script: does not block rendering -->
<script src="/js/app.js" defer></script>
<!-- Non-critical CSS: loads without blocking, applies when ready -->
<link rel="stylesheet" href="/css/non-critical.css" media="print" onload="this.media='all'">
<noscript><link rel="stylesheet" href="/css/non-critical.css"></noscript>Use your performance plugin
If you use a plugin such as WP Rocket, LiteSpeed Cache, Autoptimize or Perfmatters, enable its options to defer JavaScript and to optimise or delay CSS. Option names vary by plugin.
Test after each change
Check your forms, menus and checkout after enabling each option. Deferring jQuery can break scripts that run inline.
Remove unused plugins
Each plugin can add its own CSS and JS to every page. Remove ones you do not need, or unload their assets on pages that do not use them.
Edit theme.liquid
In Online Store > Themes > Edit code, open layout/theme.liquid and add
deferto script tags in the head that do not need to run first.Audit installed apps
Apps often inject scripts into the theme. Remove apps you no longer use and check that no leftover code stays in the theme files.
Load assets only where needed
Wrap section-specific CSS and JS so they load only on templates that use them. How you do this depends on your theme.
Use the async container snippet
The standard GTM snippet already loads asynchronously. Make sure you have not replaced it with a synchronous script tag.
Trim your tags
Remove unused tags and triggers. Fire non-essential tags on Window Loaded rather than on every page view.
Move custom code
In Project settings > Custom code, move non-essential scripts from Head code to Footer code, or add
deferorasyncto them.Remove unused interactions and embeds
Delete unused libraries, fonts and embeds so fewer files load.
Review tracking code
In funnel or website Settings, check the Header Tracking Code. Move scripts that are not needed at first load to the Footer Tracking Code.
Limit custom CSS and JS
Remove large custom blocks and external libraries you do not use on each page.
Set custom code to load at body end
In Settings > Custom code, choose 'Body - end' instead of 'Head' for scripts that do not need to run first.
Remove unused apps
Delete apps you do not use. Wix controls its own core files, so your control is mostly over added code and apps.
Move code injection
In Settings > Advanced > Code injection, move scripts from Header to Footer where possible.
Reduce extras
Remove unused custom CSS, fonts and third-party embeds. Core files are managed by Squarespace.
Defer scripts
Add
deferto scripts in the head, or move them to just before</body>.Inline critical CSS
Put the CSS needed for the first screen in a
<style>tag in the head and load the rest without blocking, as in the snippet above. Build tools can extract critical CSS for you.Split bundles
Break large bundles so each page loads only the code it needs, and add
<link rel="preconnect">for key third-party origins.
Before
- Five stylesheets and four scripts in the head
- No defer or async attributes
- Blank screen until all files finish
After
- Critical CSS inline, rest loaded without blocking
- Scripts use defer or async
- Content appears while other files load
How to confirm it's fixed
- Re-run PageSpeed Insights on mobile and check the render-blocking audit shows fewer or smaller items
- Compare LCP before and after
- Load the page in a private window and check nothing looks unstyled for a moment
- Submit your lead form and check the email arrives
- Check menus, sliders, cookie banner and chat button still work
- Confirm analytics and ad conversion events still fire in each tool's debug or real-time view
How to prevent it happening again
- Test key pages in PageSpeed Insights after every theme, plugin or tag change
- Ask for defer or async whenever you add a new script
- Review installed plugins and apps every quarter and remove unused ones
- Keep a list of tags in your tag manager and who asked for each
- Watch field data in Google Search Console's Core Web Vitals report
How FunnelGuard handles this
FunnelGuard does not check for render-blocking scripts and CSS today. It is a possible future check, not something it reports on now.
What FunnelGuard does do is run your real customer journeys on a schedule, such as lead forms, checkouts and booking buttons. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach your inbox and CRM. If a script change breaks a form or stops a tag from firing, that kind of failure is what it re-checks from a second region before sending one alert with a screenshot and a likely cause.
To watch for render-blocking resources yourself, run PageSpeed Insights on your key pages after each change, and keep an eye on the Core Web Vitals report in Google Search Console. The free read-only website audit and the Free plan (1 site, 2 journeys, daily checks, no card) can help you confirm that your funnel still works after you optimise scripts.
Questions people ask
What are render-blocking scripts and CSS?
They are files in the head of your page that the browser must download, and for scripts run, before it can show any content. Stylesheets and scripts without defer or async are the usual cause. They delay first paint and Largest Contentful Paint.
How do I eliminate render-blocking resources?
Add defer or async to scripts that are not needed for the first screen, inline the critical CSS, and load other CSS without blocking. Remove files you do not use. Then re-test in PageSpeed Insights.
What is the difference between async and defer?
Both download the script without blocking the page. Defer runs scripts in order after the HTML is parsed, while async runs each script as soon as it is ready, in any order. Use defer for scripts that depend on each other and async for independent ones like analytics.
Do render-blocking resources hurt SEO?
They can, indirectly. They slow LCP, which is part of Core Web Vitals and Google's page experience signals. The effect is usually small compared with content relevance, so treat it as a refinement.
Why does PageSpeed Insights say 'Render blocking requests'?
It means files such as stylesheets or scripts in the head delayed the first paint. The report lists each one with an estimated saving. Fix the largest ones first.
How do I fix render-blocking JavaScript in WordPress?
Use a performance plugin such as WP Rocket, LiteSpeed Cache or Autoptimize and enable its defer JavaScript option. Test forms and menus after each change, because deferring can break inline scripts that depend on jQuery.
Is it safe to defer Google Tag Manager or analytics?
Load them with async rather than blocking, which the standard GTM snippet already does. Delaying them for many seconds can lose data from visitors who leave quickly, so test that conversion events still fire.
Does FunnelGuard check for render-blocking scripts?
No. FunnelGuard does not check this yet. It is a possible future check, so use PageSpeed Insights and Search Console to monitor it.