Render-blocking scripts in the head
Medium priorityPerformance
Scripts in <head> without defer or async stop the browser rendering anything until they download and run.
What triggers this issue
- One or more external scripts in
<head>withoutdefer,asyncortype="module".
Why it matters
The browser must pause building the page for every blocking script, so visitors stare at a blank screen for longer, delaying First Contentful Paint and LCP.
How to fix it
- Add
deferto scripts that need the DOM, orasyncto independent ones like analytics. - Move scripts that must block to the smallest possible inline snippet.
<script src="/app.js" defer></script>