Key takeaways
  • If the HTML your server sends lacks the main content, title, canonical link and structured data, many bots see an almost empty page.
  • Test with curl or view-source, not the DOM your browser shows after JavaScript has run.
  • A bot log proves a fetch happened, not what the fetch contained. Check the response as well as the request.

If you want AI search tools and crawlers to read, quote and cite your pages, the most reliable thing you can do is make sure the HTML your server sends already contains the real content. Not a loading spinner, not an empty container waiting for a script, but the headings, paragraphs, metadata and structured data a reader would see. Server-side rendering (SSR) and static site generation (SSG) are the usual ways to achieve this. Client-only rendering is the usual way to accidentally lose visibility, because some crawlers do not run your JavaScript, and those that do may run it later, on a limited budget, or not at all.

This article explains the problem, defines the rendering terms that often get mixed up, shows how to check what a bot actually receives, and suggests a practical sequence for fixing it. It is deliberately cautious. Crawler behavior changes, documentation is sometimes incomplete, and most sites will find that some of their problems are not rendering problems at all.

The core problem: the empty shell

A common modern front-end setup works like this. The server sends a small HTML document with an empty root container and a set of JavaScript bundles. The browser downloads the bundles, runs them, fetches data from an API, and builds the page in the DOM. A person using a current browser sees the finished page within a moment. The HTML the server originally returned, however, contained almost nothing.

For a human visitor this is invisible. For a crawler that reads the initial response and stops there, the page may have no heading, no article body, a title that is the same across the whole site, no canonical link, and no structured data, because the script that injects it has not run. Whether a crawler sees any of this depends on the crawler. Some AI-related fetchers are documented as reading the HTML they request and not executing JavaScript. Some crawlers from search engines do render pages, but the rendering may happen in a separate queue after the first fetch, which means JavaScript-dependent content can be processed later than the HTML. The honest summary is that you cannot assume every bot will run your JavaScript, and you cannot assume that if one does, it will do so promptly or completely. The safe design is to put the important material in the first response.

What the rendering terms actually mean

These terms are used loosely, so it helps to define them precisely. Client-side rendering (CSR) means the browser builds the page from JavaScript after the initial response arrives. The server may send only a shell, data, or a bundle. CSR is not wrong for every page, but it moves the work of producing content to the reader's device, and to any crawler that chooses to do the same work. Server-side rendering (SSR) means the server runs the rendering code for each request and returns complete HTML; JavaScript may then attach interactivity on top, a step usually called hydration. The key property is that the content exists before any script runs. Static site generation (SSG) means the HTML is produced ahead of time, during a build, and then served as plain files; from a crawler's point of view, a statically generated page looks the same as any other HTML file.

Prerendering is a related idea: a tool or build step loads a route in a headless browser, captures the resulting HTML, and saves it as a static file. This is a practical way to add crawlable HTML to an existing client-rendered app without rewriting it. Dynamic rendering means the server detects which visitor is a bot and serves that visitor a pre-rendered or server-rendered version, while human visitors get the normal client-rendered app. Google has described dynamic rendering as a workaround rather than a long-term recommendation, and it adds maintenance complexity, so treat it as a stopgap and test both versions. In practice, many teams use a mix: public, indexable pages are SSG or SSR, while authenticated areas and interactive tools stay client-rendered.

What the server response should contain

For any page you want found, quoted or cited, the initial HTML response should include the title and meta description for that specific page, a canonical link pointing to the preferred URL, a single clear heading that states what the page is about, the main body text in ordinary paragraphs, lists and tables, internal links to related pages as real anchors rather than click handlers, structured data such as JSON-LD placed in the initial HTML, and meaningful alt text for images that carry meaning. Notice what is missing from that list: anything that only appears after a click, a scroll, or a timer. Content behind a Read more button that fetches its text from an API may be invisible to crawlers that never click. If the text matters, it should be in the response. The same point applies to structured data: schema injected by JavaScript after load may be missed by any crawler that reads only the initial response, so if the schema describes the article, its author, the product, or the FAQ, it should be in the server output.

How to test: read the raw HTML

The most common testing mistake is to open a page in a browser, inspect it, and conclude that the content is there. The Elements panel shows the DOM after JavaScript has run, which is not what a non-rendering bot received. Test the response instead. Use curl, or View Page Source, which shows the HTML as delivered. The commands below fetch a page and check for the basics. Replace the example URL with one of your own.

# Fetch the raw response without running any JavaScript
curl -sS -L -A "RawFetchCheck/1.0" -o raw.html \
  -w "status=%{http_code} bytes=%{size_download}\n" \
  https://www.example.com/guides/server-side-rendering/

# Is there a heading with real text?
grep -o "<h1[^>]*>[^<]*</h1>" raw.html

# Is there a page-specific title and a canonical link?
grep -o "<title>[^<]*</title>" raw.html
grep -o "rel=.canonical.[^>]*" raw.html

# How many JSON-LD blocks are in the initial HTML?
grep -c "application/ld" raw.html

# Does a sentence you know is on the page appear in the raw response?
grep -c "a sentence that should appear in the article body" raw.html

Read the results carefully. A status of 200 with a few kilobytes of HTML, no heading text, a generic title and no body sentences is a shell. A status of 200 with the expected heading, title, canonical link, structured data and body text is what you want. A status of 301 or 302 means you should test the final URL, which the redirect-following flag handles. Also check that the response is not a bot-challenge page or a cookie-consent interstitial served to unfamiliar user agents. Two more checks are worth doing: compare the byte count of the raw response with the size of the rendered page, since a large gap usually means most content is loaded by script, and repeat the fetch with the user agent of each major crawler you care about, because some sites serve different responses to different agents.

Hydration is not the same as content

SSR and SSG pages are often followed by hydration, where the client-side framework attaches event handlers and takes control of the page. Hydration is good for interactive features, but it is easy to confuse two states: the HTML contains the article and JavaScript later makes the navigation clickable, or the HTML contains a skeleton and JavaScript later fills in the article. Only the first is server-rendered in any useful sense. The second looks server-rendered in a quick check, because the framework may emit a server-side version of the layout, but the content itself is still missing. A related failure is hydration mismatch, where the server renders one version and the client renders another, and the framework discards the server HTML and re-renders on the client. The page still works for humans, but you have gained nothing for crawlers, so check your framework's logs for hydration warnings and confirm that the server output is the complete page.

Content that loads after the page does

Modern sites load a surprising amount of content in ways bots may not follow: tabs and accordions that fetch content when opened, infinite scroll where content appears only as the user scrolls, client-side search and filtering that replaces the list of results with data from an API, lazy-loaded text inside components that wait for an intersection observer, and personalized content that changes by cookie or login state. The fix is usually not to make bots click or scroll. It is to render the default content on the server, give each meaningful state its own URL where appropriate, and keep the important text in the first response. Tabs can be implemented so all panels are present in the HTML and only their visibility changes on the client, which keeps the content in the source while preserving the interface.

Even JavaScript-capable crawlers may skip rendering

It is tempting to conclude that if a crawler can execute JavaScript, your client-rendered page is fine. That conclusion is too optimistic for three reasons. First, rendering costs a crawler time and computing resources, so a page may be fetched, stored, and only rendered later, sometimes much later, if at all for low-priority URLs. Second, rendering can fail: scripts may time out, third-party resources may block, a consent banner may cover the content, or an error in one component may stop the rest of the page from building, and each of these failures is silent from the crawler's side. Third, the set of crawlers is not fixed; a bot that renders today may not render tomorrow, and new AI-related fetchers may appear with different capabilities. So the question to ask is not whether a crawler can render your page, but whether it needs to. If the answer to what matters is the text in the body, then the text should be in the body of the response.

Verifying with bot-fetch logs

Testing the raw HTML tells you what your server returns when you ask. It does not tell you what bots actually request, when, or how often. For that you need logs, specifically logs that show which bot fetched which URL. Server access logs and CDN logs can show user agents, status codes and paths. Filter for known crawler user agents, and look at which URLs they hit and what status they received. A bot fetching a URL and receiving a 200 is a good sign; a bot receiving a 404, a 403, a redirect loop or a 5xx is a problem to fix first. The limitation is that a log line records the request and the status, not the body. A 200 response could be a full article or an empty shell, and the log will say 200 either way. To close that gap, combine the bot log, which confirms that a crawler fetched a URL and with what status, with a raw-response check run against the same URL, which confirms that the response contains the real content. A healthy-looking crawl report does not settle the question. One more caution: user agents can be spoofed, so verify important crawler traffic against the vendor's published IP ranges or reverse-DNS guidance.

Where InstantIndexingPro fits

InstantIndexingPro submits URLs through IndexNow so participating search engines learn about new and changed pages promptly, and it logs which bots fetch each URL, so you can see crawler activity against the pages you submitted. Those two things pair naturally with the checks above. Submission tells engines a URL exists or has changed. The bot log shows that a fetch happened after the change. What it does not do is tell you what the response contained; that is the part you have to confirm yourself with a raw-response check, because the fetch record alone cannot tell an empty shell from a finished page. A workable routine: publish or update a page, submit the URL, wait for bot fetches to appear in the log, then run the raw check on that URL and confirm the response includes the title, heading, canonical link, body text and structured data. If the fetch shows up and the raw check fails, the problem is almost certainly in your rendering setup, and submitting the URL again will not help. Render first, then submit.

What to do

Start with the pages that matter most. List your most important public URLs, the ones you want cited in AI answers. Fetch each one as raw HTML and check for a page-specific title, one meaningful heading, a canonical link, structured data and a few sentences of body text, and record which pages fail. Group the failures by template, because fixing one template can fix dozens of pages. Move the essential content to the server, choosing SSG for content that changes on a schedule and SSR for content that depends on the request, and leave purely interactive features client-side. Remove the blockers: environment variables that differ in production, client-only guards that suppress server output, bot-protection rules that serve challenge pages, and caches that hold empty responses. Confirm with the same raw check after deployment, from outside your network if possible, and do not treat a local development server as proof. Watch the bot logs for the following weeks to confirm the crawlers you care about are fetching the corrected URLs and receiving 200 responses, submit corrected URLs through IndexNow when they change, and recheck the raw-fetch sample on a schedule because frameworks and CDNs change.