SemhackDevelopers
OpenAPIGet an API key
Skip to content
SemhackHelp center
Open app

Loading article…

© 2026 Semhack
HomePricingPrivacyTermsContact
© 2026 Semhack
HomePricingPrivacyTerms
  1. Help center
  2. Audit checks
  3. Render-blocking JavaScript

Performance check

Render-blocking JavaScript

Finds external scripts in the <head> without defer, async or type="module".

Category
Performance
Importance
Medium importance
Check id
javascript-defer

How the result is decided

  • PassNo render-blocking scripts in the head.
  • WarningAt least one.

Why it matters

The browser stops building the page until such a script has downloaded and run, so visitors look at a blank screen for longer.

How to fix it

Example
<script src="/app.js" defer></script>

After the fix, open the page’s report and choose Run again to confirm it passes.

Was this helpful?

Previous checkImage formatNext checkDOM size

About audits

  • How the audit score worksThe 0–100 score is a weighted average of the checks: importance sets the weight, the result sets the credit.
  • Running a page auditWhat Semhack fetches when it audits a URL, what the report shows and the limits that apply.
Search help

Performance checks

  • Text compression
  • Load time
  • Page size
  • HTTP requests
  • Image format
  • Render-blocking JavaScript
  • DOM size
  • Doctype