Google has up to date the Googlebot assist doc on crawling to make clear that the 15MB fetch dimension restrict applies to every fetch of the person subresources referenced within the HTML as effectively, corresponding to JavaScript and CSS recordsdata.
Google initially added details about this 15MB restrict a number of months in the past, which brought on numerous concern within the search engine optimisation business, so be certain to learn that story.
The assist doc now reads:
Googlebot can crawl the primary 15MB of an HTML file or supported text-based file. Every useful resource referenced within the HTML corresponding to CSS and JavaScript is fetched individually, and every fetch is certain by the identical file dimension restrict. After the primary 15MB of the file, Googlebot stops crawling and solely considers the primary 15MB of the file for indexing. The file dimension restrict is utilized on the uncompressed information. Different Google crawlers, for instance Googlebot Video and Googlebot Picture, could have totally different limits.
It beforehand learn:
Googlebot can crawl the primary 15MB of an HTML file or supported text-based file. Any assets referenced within the HTML corresponding to photographs, movies, CSS, and JavaScript are fetched individually. After the primary 15MB of the file, Googlebot stops crawling and solely considers the primary 15MB of the file for indexing. The file dimension restrict is utilized on the uncompressed information. Different Google crawlers could have totally different limits.
Gary added on LinkedIn, “PSA from my inbox: The 15MB useful resource fetch threshold applies on the JavaScript assets, too, so in case your JavaScript recordsdata are bigger than that, your website might need a nasty time in Google Search. See googlebot.com for details about the fetch options and limitations. Sure, there are JavaScript assets on the market which are bigger than 15MB. No, it is not a good suggestion to have JavaScript recordsdata which are that giant.”
Listed below are some feedback on early suggestions from the search engine optimisation group on this:
Are you working into 15mb Don dimension? That is fairly a bit.
— johnmu just isn’t a chatbot but 🐀 (@JohnMu) March 19, 2023
The 15mb is nearly fetching, it’s very separate from the indexing aspect.
— johnmu just isn’t a chatbot but 🐀 (@JohnMu) March 19, 2023
Discussion board dialogue at LinkedIn.