The HTML is very large, or scripts hold up the page
Two things make a page slow before any image loads: an enormous HTML file, and scripts in the head that the browser must fetch and run before it draws anything. Either is a warning.
What we look for
Two measurements of the HTML itself. If the page is over 1.5 MB of HTML, we stop reading there and warn. Separately, we count <script> tags in the <head> that load an outside file without async or defer; more than three is a warning, because each one holds up the first paint.
Why it matters
A browser cannot show anything until it has the HTML, and it stops to fetch and run every blocking script in the head before it draws the page. On a phone on a mobile connection, that is the blank white screen while the visitor waits. Google measures what real visitors experience, and a slow first paint counts against the page. Most of the weight is avoidable: page builders that inline every style, analytics and chat widgets added one at a time, and scripts from apps that were uninstalled years ago.
How to fix it
WordPress. Page builders and plugins are the usual cause. Remove plugins you do not use. A performance plugin (Autoptimize, WP Rocket, Perfmatters, LiteSpeed Cache) can defer scripts and strip unused ones. If the HTML itself is huge, the page builder is inlining styles or data; some have a setting to load styles as a file instead.
Squarespace and Wix. The platform’s own scripts are handled for you. Yours are in Code Injection (Squarespace, under Settings, then Advanced) or Custom Code (Wix, under Settings). Remove what you no longer use, and give what remains defer, or set it to load at the end of the body.
Shopify. Apps add scripts to the theme and often leave them there after you uninstall. In the theme editor, open App embeds and turn off the ones you do not use. Then search theme.liquid for leftover script tags from apps you no longer have.
A custom-built site. Add defer to scripts in the head, or move them to the end of the body. Load analytics and chat tools asynchronously. If the HTML is over 1.5 MB, something is inlined that should be a separate file: a data set, a base64 image, or a whole stylesheet.
Check it worked
Run the check again. Then run the page through PageSpeed Insights, which lists each blocking resource and how long it costs.
Read it
Other tools call this
- Lighthouse and PageSpeed Insights:
Avoid enormous network payloads
,Eliminate render-blocking resources
,Reduce unused JavaScript
- Semrush:
Large HTML page size
,Too many JavaScript and CSS files
,Uncompressed pages
,Uncompressed JavaScript and CSS files
- Ahrefs:
HTML file size too large
,Page has render-blocking resources
- GTmetrix:
Total page size
,Avoid an excessive DOM size