Why might an online store's client-rendered product pages reach one search engine's index late and another's not at all, and what would you change?
answer
- what is in the first HTML response
- crawl, render, index
- a rendering queue between crawl and index
- not every crawler runs script
- separate copy for crawlers: a documented workaround
basics
~20 sThe first response is an empty shell, so content appears only after the crawler's deferred render succeeds, and crawlers that run no script never see it. Server-render or prerender the indexable page types; keep client rendering for personal ones.
solid answer
~50 sA major search engine documents three phases for script-built pages: crawl, render, index. A page answering 200 is fetched, then waits in a rendering queue - seconds, but it can take longer - until a headless browser runs its scripts, and only that rendered result is indexed. So client-rendered product pages are indexed later, and only if the render succeeds: a script error, a blocked file or a slow product API leaves price or description out. Other search engines and preview bots may ignore script entirely and see the empty shell. The fix is to ship product, category and help pages with their content in the HTML, prerendered or rendered per request, and keep client rendering for cart, checkout and the account area, which should not be indexed anyway. Serving crawlers a separately rendered copy is described by that engine's own documentation as a workaround, not a long-term solution.
go deeper
Remember that a client-rendered page's first HTML is mostly empty, so a crawler must run its scripts before it can see the content.
Explain crawl, render and index, the rendering queue, and why indexing of script-built pages is slower and conditional, then name which store pages need server-made HTML.
Diagnose a lagging index from raw versus rendered HTML, account for crawlers that run no script and soft 404s, and plan a migration with a crawler-only copy as a dated stopgap.
Weigh search exposure against the cost of server-made HTML across page types, and decide which pages earn it rather than moving the whole app.
## What a crawler receives A **crawler** is a search engine's program that fetches pages, follows links and hands content to an index. What it can index depends on what is in the HTML it is given. One major search engine documents how it handles pages built by script in three phases: 1. **Crawling** - it fetches the URL and parses links from the raw HTML response. 2. **Rendering** - every page that answers `200` is placed in a **rendering queue**. The documentation says a page may stay there for a few seconds, but it can take longer. When resources allow, a headless browser runs the page's scripts. 3. **Indexing** - the rendered HTML is what gets indexed, and links found in it are queued for crawling. A **client-rendered** page answers with an app shell: a document whose body holds little more than a script tag. Everything a shopper sees is built later by script. ## Why client rendering hurts these pages - **Delay.** Content becomes indexable only after the render step, so new products appear later than they would from server-made HTML. - **Dependency on the render succeeding.** If a script throws, a needed file is blocked, or the product API is slow when the headless browser runs, the rendered HTML can lack the price or description. - **Late link discovery.** Category-to-product links that exist only after rendering are found in a second round, slowing discovery of the catalogue. - **Crawlers that run no script.** The same documentation notes that not all bots can run script, and that other search engines may ignore it and never see script-built content. That fits the engine where the products never appear at all. - **Wrong status codes.** A client-rendered page for a deleted product still answers `200`, so it is queued and may be indexed as a soft 404. Client-rendered pages *can* be indexed. The problem is that indexing becomes slower, conditional and engine-dependent. ## The options compared | Option | What the crawler gets | Cost | |---|---|---| | Keep client rendering | an empty shell, content only after a deferred render | late, fragile indexing; nothing for script-less crawlers | | Separate rendered copy for crawlers | server-made HTML for detected bots | a second render pipeline; documented as a workaround | | Server rendering per request | full HTML in the first response | server work per request; first byte can rise | | Prerendered and regenerated | full HTML from a stored copy | a build step and a staleness window | The second row is called **dynamic rendering**: the server detects crawler requests and routes them to a renderer that returns static HTML, while people get the client-rendered app. The search engine's own documentation describes it as a workaround and not a long-term solution, because it adds complexity and resource requirements, and recommends server rendering, static rendering or hydration instead. It is not treated as cloaking as long as both versions carry similar content. ## The decision for this store - **Product and category pages** are the store's search entry points, so they move to prerendered HTML regenerated on catalogue change, which also helps their loading targets. - **Help-centre articles** are prerendered when published. - **Cart, checkout and order history** stay client-rendered: they are personal and should not be in any index, so the crawler argument does not apply. - **Search results** render per request if their URLs are linked and shared; they are usually kept out of the index anyway. - **Filtered category views** with many combinations render per request; they need content in the response only for the few combinations meant to be indexed. During migration, a crawler-only rendered copy can be a stopgap with an end date, not the destination. ## What not to conclude - Server-made HTML is not a ranking boost in itself; it makes content visible earlier and more reliably. - Moving every page to the server, cart and checkout included, buys nothing for search and costs server work. - Checking indexing means comparing the raw HTML response with what the rendered page contains, page type by page type, rather than trusting a browser view. - **Link previews** in chat and social apps are fetched by bots that commonly read only the raw HTML, which is one more reason a shareable product page should carry its content in the first response.
- A product is deleted, but its client-rendered page still answers 200 with a 'not found' message. Why does that matter for search?The crawler takes a 200 at face value: the page goes into the rendering queue and may be indexed as a soft 404, a 'not found' page that claims to exist. A server-made page can answer a real 404. In a client-rendered route you can only work around it, for example by redirecting to a URL whose server answers 404, which is one more reason to give indexable pages server-made HTML.
- Would you serve crawlers a separately rendered copy while the migration runs?As a stopgap with an end date, yes. The search engine's documentation calls it a workaround, not a long-term solution: it is a second render pipeline to run and monitor, crawler detection can drift, and both versions must carry similar content. I would put it on the product and category pages only and remove it once those pages ship their content in the HTML.
- Client-rendered pages can never be indexed by any search engine
- Every crawler runs page scripts exactly as a browser does
- A separate prerendered copy for crawlers is the long-term fix
- The render happens during the crawl, so indexing cannot lag
- Move cart and checkout to server rendering to improve search