CXVend team · 2026-11-11
HTML Before JavaScript: Check What Crawlers Receive
What we know, and what we don't
- Googlebot renders JavaScript. Google documents a crawl → render → index pipeline and recommends server-side or pre-rendering as still a good idea for speed and for other clients (Google: JavaScript SEO basics).
- Other crawlers vary, and several don't say. Apple says Applebot may render pages (Apple); Common Crawl says CCBot doesn't execute JavaScript (Common Crawl FAQ). The public crawler docs of OpenAI, Anthropic, Perplexity and Meta don't state whether their crawlers render JavaScript (checked November 2026). We don't assume a given AI crawler runs your scripts. Text present in the initial HTML is available either way.
Test it in one command
curl -s https://example.com/your-page | grep -c "your exact headline"0 means the headline is not in the HTML before JavaScript. Repeat for:
- the first paragraph
- the price
- the main call to action
Also check <title>, <meta name="description"> and <link rel="canonical"> in the same output.
Next.js: what the docs say
The Next.js App Router docs (Next.js: Server and Client Components) say:
- "By default, layouts and pages are Server Components."
- On first load, "Client Components and the RSC Payload are used to prerender HTML."
In practice:
- Content rendered by a Server Component, or passed as props into a Client Component on the server, ends up in the initial HTML.
- Content that a Client Component fetches in
useEffectafter mount is not in the initial HTML. The server only sends whatever placeholder you render first, such as "Loading…". - So: fetch the data in the Server Component (or the page) and pass it down. Keep
'use client'for the interactive parts.
Then re-run the curl check. Your headline count should be 1 or more.
Other stacks
If you use a site builder or another framework, don't rely on a tip from a blog post, this one included. Run the curl check above on a published page. It tells you what your stack actually sends, regardless of the tool.
Checklist
- View Source and curl one important page.
- Confirm the headline, the first paragraph and the call to action are present.
- Confirm the title, meta description and canonical are present.
- If text is missing, move its data fetch to the server (Next.js: Server Component), deploy, and re-check.
Having text in the HTML doesn't make any search engine or AI product rank or mention you. It just removes one reason they couldn't read the page.
Disclosure: I built CXVend, a free checker that measures the static HTML text length of one public page you own, without running JavaScript, and compares it with a browser-style request.