loading.render-blocking-script

InfoSEO audit

Scripts in <head> load without async, defer or type="module", so the browser stops building the page until each one has downloaded and run.

What to change

Add defer to scripts the page needs once it is parsed, or async to independent ones such as analytics; type="module" scripts are deferred already. A script that must run before anything renders (a consent manager, an A/B test) can stay, but keep it small.

The documentation on developer.chrome.com

A finding of this rule on a page carries the exact edits for that page: the markup it quotes, and what to write instead.

When it runs

Runs on every SEO audit: of a page, a crawl, a build directory or HTML. Info is a best practice: worth doing, rarely urgent, and --no-info leaves it out. Each finding takes 1 point off the page's score.

The severity here is the rule's usual one: a finding can be raised or lowered when the page gives a reason.

Run it, or skip it

Check a page for this rule alone, after a fix for instance:

npx @rivi-software/agentic-seo-check audit https://example.com --rule loading.render-blocking-script

Or from an assistant, with the MCP tool seo_audit_page:

{
  "url": "https://example.com",
  "rules": [
    "loading.render-blocking-script"
  ]
}

To leave it out of an audit, pass --disable loading.render-blocking-script on the command, or disableRules: ["loading.render-blocking-script"] to a tool.

All 17 rules