top of page

What Is Server-Side Rendering? Why Do AI Crawlers Need It for Citations?

Writer: Harold Bell
Harold Bell
Oct 21
8 min read
A stack of server units with an arrow to a page card, the cover art for What Is Server-Side Rendering, and Why Do AI Crawlers Need It?

Key takeaways

  • Server-side rendering sends complete HTML, so the content is there the moment any crawler loads the page.

  • Vercel's 2024 analysis found OpenAI's and Anthropic's crawlers fetched JavaScript files without executing them.

  • The same analysis found ChatGPT's and Claude's crawlers hit 404 pages on about 34% of fetches, against roughly 8% for Googlebot.

  • View the page source, search for a sentence from your main content and fix whatever's missing.

Here's a frustrating pattern I've seen more than once. A company has solid content and ranks well in Google, but when you ask ChatGPT or Claude about its topics, it rarely shows up. When it does, the description is thin and generic. Often the problem isn't the content at all, it's how the page is delivered, and server-side rendering is the fix.


If the page is built in the browser with JavaScript, the HTML that arrives first is nearly empty. Google waits, runs the scripts and sees the full page. Many AI crawlers don't wait, so they read the empty version and move on. Nothing looks wrong to you or your visitors, which is exactly why this problem survives so long.



What is server-side rendering?

Server-side rendering means the server sends complete HTML, with the content already in it, to the browser or crawler. Client-side rendering sends a mostly empty page and builds the content with JavaScript afterward. Crawlers that don't run JavaScript only see the first version. Learn which crawlers those are in AI crawlers explained.


It helps to think of rendering as a ladder. At the bottom is client-side rendering, where the browser builds the page and a non-rendering crawler sees a shell. Next is server-side rendering, where the server builds full HTML for each request. Static generation builds the HTML ahead of time, which is fast and just as readable to crawlers.


Most modern sites are hybrids, with key content rendered on the server and interactivity added in the browser afterward. That works well, as long as the important content really is in the server-rendered part. The goal isn't to abandon JavaScript. It's to make sure the content that matters is already in the HTML before any script runs.


This matters more for AI than it ever did for Google. Googlebot renders JavaScript, so a client-rendered page can rank and look healthy in Search Console. AI crawlers mostly don't, so the same page can be partly invisible to the assistants your buyers use. Your normal reporting won't tell you, because the reports come from the crawler that renders.



Which crawlers render JavaScript?


Googlebot does, and most AI crawlers don't. Vercel's December 2024 analysis with MERJ found OpenAI's and Anthropic's crawlers fetched JavaScript files but didn't execute them. They saw the HTML the server sent and nothing scripts added later. Learn what that means for OpenAI's bot in what is GPTBot.


Comparison chart titled Google renders your scripts, most AI crawlers don't. Googlebot renders JavaScript, sees the page after scripts run, and client-rendered content can still rank. OpenAI's and Anthropic's crawlers skip JavaScript, see only the HTML the server sent, and script-added content is missing. Source is Vercel and MERJ, The rise of the AI crawler, December 2024.

The numbers make the point. GPTBot fetched JavaScript files in 11.5% of its requests and Anthropic's crawler in 23.84%, and neither ran them. In the month measured, GPTBot made 569 million requests across Vercel's network and Anthropic's crawler 370 million, together about a fifth of Googlebot's volume. That's a lot of crawling spent reading empty pages.


Treat the study as a snapshot, because crawler behavior changes. It's from December 2024, and vendors update their systems constantly. But the safe assumption hasn't changed. If content only appears after JavaScript runs, some AI systems may never see it, and ClaudeBot is no exception.



How does the view-source test work?


Open a key page, choose View Page Source rather than Inspect and search for a sentence from the middle of your main content. If it's there, crawlers can read it. If it's missing, scripts are adding it later. Learn what to check next in AI crawler server log analysis.


The distinction between View Source and Inspect is the whole test. Inspect shows the page after scripts have run, which is what you see and not what a non-rendering crawler sees. View Source shows the raw HTML as it arrived from the server. That's the version GPTBot and ClaudeBot are working with.


Search the source for the parts most likely to go missing, like an FAQ answer, a pricing figure or the contents of a tab. For a visual check, turn JavaScript off in your browser settings and reload the page. What you see then is roughly what a non-rendering crawler sees. It's often a sobering five minutes.


Run it on the pages you'd most want an assistant to cite. Product pages, comparison pages, pricing and your best guides make the priority list. If those pass, you're in decent shape. If they fail, you've found a problem worth more than your next three blog posts.



Partner Over Product, a playbook for winning deals without losing the plot, by Harold Bell. Available on Amazon.


What content usually goes missing?

FAQ answers that load on click, tab content, pricing tables built by widgets, reviews from third-party embeds and anything behind a read-more button. These are often the most citable parts of a page. That's why rendering problems drag down citations on otherwise strong sites. Learn the CMS side in choosing a CMS for AI visibility.


The irony is hard to miss. The content that fails this test is usually the direct answers, specific numbers and social proof that AI engines most like to quote. A pricing range in plain text is a citation waiting to happen. The same range inside a JavaScript widget is invisible to the crawler that would have cited it.


At the extreme sits the single-page application, where the whole site is a JavaScript app. Those can look great to humans and almost empty to non-rendering crawlers. If your marketing site was built by the product team on the product's framework, check it first. That's where I find the worst cases.


Missing content also leaves gaps that models fill from elsewhere. If an assistant can't read your pricing or integrations, it may describe them from older or third-party sources instead. That's one route to AI hallucinations about your brand. Fixing the rendering removes the excuse.



How do you fix client-side rendering for AI crawlers?


Render content pages on the server or generate them statically, keep collapsed content in the HTML and put critical facts in plain text. Modern frameworks support this as a configuration choice. Check third-party embeds separately. Learn the markup side of collapsed content in FAQ schema for AI search.


For content, documentation and marketing pages, server-side rendering or static generation should be the default. Frameworks like Next.js, Nuxt, Astro and SvelteKit all support one or both, so this is usually a configuration change rather than a rebuild. The interactive parts can still hydrate in the browser afterward. The content just needs to arrive first.


Accordions and tabs are fine, as long as the content is already in the page and simply hidden visually rather than fetched on click. Put pricing ranges, features, integrations and company facts in plain text. That also helps the agentic search tools that increasingly read sites on a buyer's behalf. And it makes your pages faster, which nobody has ever complained about.


Hosted site builders are generally in better shape than custom single-page apps, but widgets and custom code can still break the rule. Review every embed on your key pages, from review widgets to pricing calculators. If an embed holds content you'd want cited, ask for a server-rendered alternative or repeat the key facts in plain text nearby. Then run the view-source test again.



The Demand Doctrine for AI SEO by Harold Bell, search engine optimization for the AI era. Rank, get lifted, and get cited. Available November 18th at demanddoctrine.com.



Why do AI crawlers waste so many requests?


Because they follow stale and broken URLs far more than Googlebot does. Vercel's analysis found ChatGPT's crawlers hit 404 pages on 34.82% of fetches and Claude's on 34.16%, against 8.22% for Googlebot. That's wasted crawl on every site. Learn the cleanup in fixing Not Found 404 errors.


Bar chart titled AI crawlers hit 404 pages about 4 times as often as Googlebot. ChatGPT's crawlers hit a 404 on 34.82% of fetches, Claude's on 34.16% and Googlebot on 8.22%. Source is Vercel and MERJ, The rise of the AI crawler, December 2024.

A third of fetches going to missing pages tells you AI crawlers have a worse map of your site than Google does. They may be working from old links, outdated sitemaps or URLs that existed years ago. Every wasted request is one that didn't fetch a page you'd want cited. The fix is boring and effective.


Redirect retired URLs with 301 redirects to their closest live equivalent, keep your XML sitemap limited to canonical, live pages and fix internal links that point at dead ends. Those are the same steps that help Google, which makes them easy to justify. They also cut server load from every crawler at once. It's an afternoon of work with a long tail of benefit.



Does rendering really affect AI citations?


It can, in a direct way. Content a crawler can't read can't be retrieved, and content that isn't retrieved can't be cited. Rendering is one of the hidden causes of ranking in Google without showing up in AI answers. Learn the other causes in ranking but not cited.


The chain is short. A search crawler like the OAI-SearchBot OpenAI documents or Anthropic's Claude-SearchBot fetches your page, stores what it can read and later retrieves passages from that store to answer questions. If the passage was never in the HTML, it was never stored, and no amount of good writing changes that. Google's own AI features are different because they draw on Googlebot's rendered index, which is why the gap is so confusing.


Google still sets a floor for its AI features. Its AI features guidance says a page must be indexed and eligible for a snippet to appear in AI Overviews or AI Mode. Rendering problems rarely block that, but they routinely block the non-Google crawlers. That asymmetry is why the view-source test belongs in the first week of any AI visibility program.


If your pages pass, move on to structure and authority. If they fail, fix rendering before you spend another dollar on content. It takes minutes to test and it rules out a whole class of problems. Occasionally it finds the single biggest one.



Where does rendering fit in the Engine Optimization Matrix™?


Rendering sits under the Distribution lever, mostly in the GEO and LLMO rows of the Engine Optimization Matrix™. SEO and AEO run through Googlebot, which renders JavaScript. GEO and LLMO depend on crawlers that often don't. Learn how the levers connect in the Engine Optimization Matrix™.


That's why a site can look healthy in the SEO row and broken in the GEO row at the same time. The same page, read by two different crawlers, produces two different outcomes. Server-side rendering closes the gap so every engine sees the same content. It's a prerequisite for every Content lever in those rows.


Citation is the payoff, and rendering is one of its quietest prerequisites. The best writing in the world doesn't help if the crawler sees a blank page. Fix access, fix rendering, then write. In that order, the work compounds.



What else do people ask about server-side rendering?


What is server-side rendering?

A way of building pages where the server sends complete HTML with the content already in it. Crawlers can read it without running JavaScript.


Do AI crawlers run JavaScript?

Mostly not. Vercel's 2024 analysis found OpenAI's and Anthropic's crawlers fetched JavaScript files without executing them.


Does Googlebot render JavaScript?

Yes. That's why a client-rendered page can rank in Google and still look thin to AI crawlers.


How do I test what AI crawlers see?

Use View Page Source and search for a sentence from your main content, or turn JavaScript off and reload. Inspect shows the page after scripts run, so it isn't a fair test.


Are accordions and tabs bad for AI visibility?

Not if the content is already in the HTML and only hidden visually. Content fetched on click is the problem.


Is static generation as good as server-side rendering?

For crawlers, yes. Both deliver complete HTML before any script runs.


Why do AI crawlers hit so many 404s?

They often follow stale or broken URLs. Vercel found ChatGPT's and Claude's crawlers hit 404 pages on about 34% of fetches, against about 8% for Googlebot.


Can rendering cause AI hallucinations about my brand?

It can contribute. If an assistant can't read your facts, it may fill the gap from older or third-party sources.



Related guides


About the author. Harold Bell is the founder of MQL Magnet and has spent about 16 years in enterprise technology marketing, working with brands like Cisco, Rubrik and Nutanix in different capacities. He's a member of the Forbes Communications Council, the creator of the Engine Optimization Matrix™ and the author of Partner Over Product.


bottom of page