Issues

Validation: HTML Document Over 2MB

back to issues overview

HTML Document Over 2MB

Pages which are over 2mb in document size. This is important as Googlebot limit their crawling and indexing to the first 2mb of an HTML file or supported text-based file.

This size does not include resources referenced in the HTML such as images, videos, CSS, and JavaScript that are fetched separately.

Google only considers the first 2mb of the file for indexing and stops the fetch when the limit is reached. Only the downloaded part of the file will be considered for indexing.

The file size limit is applied on the uncompressed data. The median size of a HTML file is about 30 kilobytes (kB), so pages are unlikely to reach this limit.

How to Analyse in the SEO Spider

View URLs with this issue in the ‘Validation’ tab and ‘HTML Document Over 2mb’ filter, and export all URLs using the ‘Export’ button.

The ‘Size’ column shows the relevant uncompressed size of the file which is relevant.

What Triggers This Issue

This issue is triggered when pages are over 2mb in document size.

How To Fix

Ensure all pages are below 2mb in file size. Identify why the page is so ridiculously large, and consider any necessary improvements, such as moving inline CSS and scripts to external files or breaking up the page where appropriate.

Back to top