// blog · all articles

Googlebot rendering and the 249-file limit: a test on 21 pages

Composizione astratta di celle colorate che si interrompono contro una linea verticale luminosa

On 23 November Franz Enzenhofer published an experiment that anyone working on JavaScript sites should read: when Google renders a page, it loads at most 249 files across scripts, stylesheets, images, fonts and API calls. From file 250 onwards, no request is made at all. If that file happens to be the script that builds the page, Google sees an empty page while Search Console still shows a green check.

Google documents a byte limit per file, not a maximum number of files. Before re-architecting a site around an unofficial threshold, I wanted to know how many real pages get anywhere near it. I measured 21 pages on 10 sites, from international SEO publishers to large retailers selling in Italy, and I also checked how much of the visible text survives without JavaScript, which is what matters for AI crawlers.

In short
  • In Enzenhofer’s test Google’s rendering stops at 249 distinct resources per page, in discovery order: whatever arrives late is left out.
  • Across 21 pages the median was 108 resources: most sites are nowhere near the threshold.
  • The IKEA Italy home page loads 455 resources, 285 of them scripts: 123 scripts start after position 249, and even without images and fonts it stays above the threshold with 382 resources.
  • For AI crawlers that do not run JavaScript only the HTML counts: on two retail pages I found just 50% and 31% of the visible text in the initial HTML.

How Googlebot rendering works, according to the documentation

Google describes a two-step process. Googlebot downloads the HTML and hands it to the Web Rendering Service (WRS), which fetches the resources referenced by the page, runs the JavaScript and rebuilds the page the way a browser would. In the “Inside Googlebot” post from March 2026, Gary Illyes gives the numbers: Googlebot fetches the first 2 MB of each URL, response headers included; anything beyond that is not downloaded, not rendered and not indexed. The Googlebot documentation adds that the limit applies to uncompressed data and that every resource (CSS, JavaScript) has its own separate counter.

Two details from the same post matter here. The WRS is stateless: it clears local storage and session data between requests. And during rendering it fetches JavaScript, CSS and XHR requests without requesting images or video. From the December 2024 post on resource crawling we also know that the WRS caches JavaScript and CSS for up to 30 days, regardless of HTTP caching headers, and that every fetched resource consumes crawl budget on the host that serves it. Google’s advice is explicit: use as few resources as feasible.

What the 249-file test adds

Enzenhofer built a test page with a growing number of images, an app script and four lazily loaded JavaScript chunks, ran it through Search Console’s URL Inspection and the Rich Results Test, and compared the results with his server logs. Above the threshold Google loaded exactly 249 files on every run. According to his data, distinct URLs are what count (300 tags pointing to the same image are one file), fetch and XHR calls count, and images with loading="lazy" count too. First discovered, first served: with one modulepreload per chunk in the head, the same 306-file page lost 57 images but loaded all of its code, and the products came back.

The open question: live tests versus rendering for the index

The two sources pull in different directions. Enzenhofer’s measurements come from Google’s live testing tools, which also produce a screenshot and therefore download images. Illyes, on the other hand, writes that the WRS does not request images or video while rendering. If the rendering that feeds the index really skips images, many pages reach the threshold much later. Neither source settles it, so in my test I always computed two counts: all resources, and code resources only (scripts, CSS, XHR, iframes), leaving out images, fonts, video and beacons.

The test: how many resources 21 real pages load

Method. On 30 November 2026 I loaded 21 pages on 10 sites in Claude’s built-in Chromium browser: the home page and one article from Search Engine Land, Search Engine Journal, Search Engine Roundtable, Sistrix and iPullRank; the home page and one category or product page from Zalando, IKEA Italy (two category pages), Decathlon, Leroy Merlin and Amazon.it. Each page was opened in a same-origin iframe, so I could raise the Resource Timing API buffer to 100,000 entries before the requests started. I used two viewports, 412×915 (a phone) and 412×12,000 (a very tall page, useful to see how many lazy images fire), and waited 6 seconds after the load event. For each page I counted distinct URLs, without fragments and without data: URIs, ordered by request start time, which is the best available approximation of discovery order.

One technical detail for anyone repeating the test: in the main document, without raising the buffer, Chrome stopped at exactly 250 entries on IKEA’s sofas category, which loads 304 resources. A console snippet that reads performance.getEntriesByType('resource') after load undercounts precisely the pages you care about.

PageResources 412×915Resources 412×12,000Without images and fontsDistinct scriptsLast script positionScripts and XHR after 249
Search Engine Land, home10510254291040
Search Engine Land, article64655128610
Search Engine Journal, home120132110451080
Search Engine Journal, article921038943880
Search Engine Roundtable, home46483317430
Search Engine Roundtable, article43473519410
Sistrix, home6060175470
Sistrix, article3737154330
iPullRank, home11011090401060
iPullRank, service page10610386421020
Zalando, women’s home11015480621070
Zalando, category10810182621050
IKEA Italy, home455459382285450123 scripts, 8 XHR
IKEA Italy, product index1661671521131660
IKEA Italy, sofas category30442717811327717 scripts (412×915); 15 scripts and 13 XHR (412×12,000)
Decathlon, home65645744640
Decathlon, product page77767050770
Leroy Merlin, home148148120531340
Leroy Merlin, category142125114491210
Amazon.it, home1452924128920
Amazon.it, video games category18519721141510

Results. In the phone viewport the median was 108 distinct resources; in the tall viewport, 103. Only 2 pages out of 21 exceed 249 in the first case (the two IKEA pages, home and sofas), and 3 in the second (add the Amazon home page, which goes from 145 to 292 resources when the page is tall). Leave out images, fonts, video and beacons, and the median drops to 78 with a single page still above the threshold: the IKEA Italy home page, with 382 code resources.

Bar chart of the distinct resources loaded by 21 pages on 10 sites, with and without images, compared with the 249-file threshold
Distinct resources per page: higher value between the 412×915 and 412×12,000 viewports, and the count without images, fonts, video and beacons. Data: measured on 30 November 2026.

The total says little without the order. Amazon crosses the threshold on the tall page, but its last script starts at position 119 (138 in a second run): after 249 there are only product images. The IKEA home page has 285 distinct scripts and 89 stylesheets, and 123 scripts start after position 249 in both viewports. The sofas category sits in between: 17 scripts after 249 in the phone viewport, 15 scripts and 13 XHR calls in the tall one, but only 178 resources once images are excluded. This is where the difference between live tests and rendering for the index changes the diagnosis.

Sequence of resources loaded by two IKEA Italy pages and the Amazon.it home page with the position 249 threshold: on IKEA many scripts come after it, on Amazon only images
Each cell is a distinct resource, in request start order. The IKEA home page was measured twice with the same result; for Amazon the second run is shown. Data: Resource Timing API in Chromium, 30 November 2026.

What is left without JavaScript: HTML, 2 MB and AI crawlers

A file limit only matters if the content depends on JavaScript. So I ran a second check on the same pages: I took the visible text in the main element after rendering (lines of at least 40 characters, cookie dialogs excluded) and checked how many of those lines already appear in the HTML returned by the server, fetched without cookies. It is an estimate of what a crawler that does not execute code gets to read.

The SEO publishers are almost all at 100%: Search Engine Land 44 lines out of 44, Search Engine Journal 135 out of 135, Sistrix 38 out of 38, iPullRank 27 out of 28, Search Engine Roundtable 18 out of 20. Amazon’s video games category is at 70 out of 71. The gap shows up on retail sites with interfaces built in the browser: IKEA at 68% on the home page and 76% on the sofas category (the product colour options are missing, for example), Zalando at 50% on the category, Decathlon at 31% on the product page, where carousels of related products only arrive through JavaScript.

Chart of the share of visible text already present in the server HTML on 10 pages, from 100% for SEO publishers to 31% for a Decathlon product page
Lines of visible text (at least 40 characters, main content, cookie dialogs excluded) found in the server HTML. For Zalando the HTML is the one received with the browser’s cookies.

Two observations on bytes. The IKEA Italy home page weighed 2,049,244 and 2,071,546 uncompressed bytes in two separate requests: above 2,000,000, below 2,097,152. Google says “2 MB” without specifying which of the two it means, and that page sits right in the grey zone. The H1 is 954,647 bytes into the file, and the HTML declares 324 distinct JavaScript and CSS URLs, including 218 modulepreload modules repeated across 951 tags. Zalando, on a cookieless fetch, returned a 2,725-byte page with no content; with the browser’s cookies the category HTML was 1,988,775 bytes. I do not know which of the two responses Googlebot gets; a crawler that fails the site’s bot checks would get the first one.

On the AI side, the most solid data is still Vercel and MERJ’s analysis of traffic on the Vercel network, published in December 2024: none of the major AI crawlers executes JavaScript, including GPTBot, OAI-SearchBot, ChatGPT-User, ClaudeBot and PerplexityBot. Gemini uses Googlebot’s infrastructure and therefore gets full rendering. The data is almost two years old and behaviour may have changed, but until the vendors document otherwise, caution is warranted: what is not in the HTML probably does not exist for these systems.

Limits of the test

The browser I used is not the WRS: versions, caching, network priorities and request handling can differ, and the WRS keeps JavaScript and CSS cached for up to 30 days. Ordering by start time approximates discovery order but is not Google’s internal queue. Pages were loaded inside a same-origin iframe, from an Italian IP and without accepting cookies: some sites behave differently in these conditions, and tracking scripts that only fire after consent are not in the count. The sample is small and chosen for convenience, not to represent the web; the inner page of each site is the first useful link on its home page or a category I picked. I have no access to these sites’ Search Console, so I cannot say whether IKEA has indexing problems: I can only say that its home page, in a browser, discovers more than 249 files and that many scripts come after that position. Finally, the 249-file limit is a third-party experimental measurement, not a value confirmed by Google. I left maltra.it out of the sample because I was logged in as an administrator and the WordPress toolbar adds scripts a visitor does not load.

What to do, step by step

  1. Count distinct URLs, not requests. Use the DevTools Network panel with caching disabled, or raise the buffer with performance.setResourceTimingBufferSize() before the page loads. Do it per page template, not just on the home page: categories, product pages, internal search.
  2. Check URL Inspection. In Search Console: Test live URL, View tested page, More info, Page resources. If you see “X/Y couldn’t be loaded”, Y minus X equals 249 and the failures are marked “Other error”, you are at the threshold. Check whether the lost entries include Script or XHR.
  3. Put code before images. The scripts that produce content must be discovered first: tags in the head, or modulepreload only for the chunks needed for the first render. Preloading hundreds of modules makes everything equally important again.
  4. Reduce distinct URLs. Fewer, larger bundles, icons in sprites or inline, the same URL for the same image repeated on the page.
  5. Batch API calls. One request for the product list instead of one per product: every fetch is a file in the count.
  6. Put the content in the HTML. Server-side rendering or static generation for copy, prices, variants and internal links. It protects you from the file limit, from the stateless WRS and from AI crawlers that do not run code.
  7. Keep HTML well under 2 MB. Move state JSON, huge inline CSS and SVG into external files, and keep title, canonical, meta robots and structured data near the top.
  8. Check the logs. Googlebot’s requests for static resources tell you what is actually downloaded; cross-reference them with releases that change the number of chunks.

Mistakes to avoid

  • Trusting the green check. In Enzenhofer’s test the page was reported as indexable while Google’s own screenshot showed zero products.
  • Assuming lazy loading fixes it. It moves images later in the queue, but according to the same test they are still requested.
  • Blocking resources in robots.txt to “save” budget. Google itself warns that blocking rendering-critical resources can prevent it from extracting the content.
  • Treating the limit as a domain problem. Moving files to a CDN changes which host pays the crawl budget, not the number of distinct URLs the page requests.
  • Optimising for Google only. A page that passes Googlebot rendering can still be silent for ChatGPT, Claude and Perplexity if its text comes from JavaScript.

My take

The number 249 matters less than what it reveals: Google’s rendering has a finite budget and spends it in arrival order. Most sites are far from the threshold, and panicking over a 100-resource page would be wasted time. The risk is concentrated in one kind of project: JavaScript applications whose builds produce hundreds of micro-chunks, catalogues with dozens of API calls per page, and images declared before the code. In my sample the only clear case is the home page of a major retailer, which is exactly the kind of site where nobody checks the file count after a release.

Text that is not in the HTML is at risk twice: with Googlebot if rendering stops, with AI crawlers because they do not render at all.

Until Google documents the limit, I would treat it as an empirical threshold measured in the testing tools, not as an indexing rule. But the right fix is the same either way and does not depend on the exact number: content in the HTML, critical code discovered first, fewer distinct URLs. It is also the best choice for GEO, because it works for every system that reads the page, not just Google.

Want to know whether your pages stay readable for Googlebot and AI crawlers even when the JavaScript does not arrive?

See the SEO and GEO audit →

FAQ

How many files does Googlebot load when it renders a page?

Google documents a 2 MB limit per file, not a number of files. An independent test published in November 2026 measured a maximum of 249 distinct resources per page in Google’s live testing tools; the HTML itself is not part of the count.

Do images count towards the 249-file limit?

In live tests they do, lazy-loaded ones included. Google, however, writes that its rendering service does not request images or video, so for the rendering that feeds the index the question is open. It is worth checking both counts.

How do I check whether a page exceeds the limit?

In Search Console’s URL Inspection, run the live test, open the tested page and its page resources. If the total minus the resources that could not be loaded equals 249 and the failures are marked “Other error”, the page is at the threshold.

Does the limit apply to ChatGPT, Claude and Perplexity?

No, because according to Vercel’s December 2024 data their crawlers do not execute JavaScript at all. For them, only the text in the HTML returned by the server counts.

Does lazy loading solve the problem?

Not on its own. It moves images later in the queue, but in the reference test they are still requested. You need code first and fewer distinct URLs.

If you are interested in this topic, I used the same hands-on approach to test the AI training opt-out in robots.txt and Cloudflare’s Search for Agents. Work on AI crawlers is part of my GEO and AI search services and of the SEO and GEO audit.

Want to apply this to your site?

I'll tell you frankly where you stand today, on Google and in AI answers, and what it takes to grow.

Request an SEO & GEO analysis →
Picture of Marco Maltraversi

Marco Maltraversi

Computer engineer, SEO and GEO consultant for over 20 years. Author of "SEO e SEM" and "SEO Audit Avanzato" (Edizioni LSWR), lecturer and speaker, founder of YourDigitalWeb and DeepSEO.