ZH-RESEARCH-001 · Full-stack engineering · Technical SEO
Next.js SSR vs CSR vs SSG: A Real Google Indexing Experiment
Status: PlannedPlan published By Zubair Hussain
The question
Why do some modern websites stay unindexed even when their sitemap, robots.txt and HTTP responses look correct?
Abstract
This started with my own portfolio. In late 2026 zubairhussain.xyz had a valid sitemap, an open robots.txt, 200 responses for Googlebot and every AI crawler, and its impressions still faded within two weeks. Duplicate www, http and /blog/ URLs turned out to be part of the cause. This experiment separates the remaining variables: the same content, published with four Next.js rendering strategies behind the same Cloudflare setup, measured in Search Console.
Hypothesis
Pages whose full content is in the first HTML response (SSR, SSG, ISR) get discovered and indexed faster than client-rendered pages, and Cloudflare security settings, not rendering, are the most common reason a correct page is never crawled.
Experimental setup
- 80 genuinely useful pages: 20 each for server-side rendering, client-side rendering, static generation and incremental static regeneration.
- Content quality, length and internal links are matched across the four groups so rendering is the main difference.
- All pages sit behind the same Cloudflare zone, with WAF events logged for verified crawlers.
- Indexing is tracked daily with the Search Console URL Inspection API and server logs for 30 days.
Method
- Publish the four groups on the same day and submit one sitemap.
- Record the first crawl, first render and first index date for every URL.
- Fetch each URL as Googlebot and compare the initial HTML with the rendered DOM.
- Log every Cloudflare WAF or bot-management action against a verified crawler.
- Track impressions and the Google-selected canonical for 30 days, then publish the raw data.
Test cases
| ID | Experiment | Measurement | Result |
|---|---|---|---|
| TC-001 | Server-side rendering | Initial HTML completeness | Pending |
| TC-002 | Client-side rendering | Rendered content availability | Pending |
| TC-003 | Static generation | Indexing latency | Pending |
| TC-004 | Incremental static regeneration | Content refresh latency | Pending |
| TC-005 | Cloudflare WAF | Verified crawler accessibility | Pending |
| TC-006 | Sitemap discovery | URL discovery time | Pending |
| TC-007 | Canonical validation | Google-selected canonical URL | Pending |
| TC-008 | Mobile performance | LCP, INP, CLS | Pending |
| TC-009 | AI search eligibility | Technical requirements met | Pending |
| TC-010 | Search visibility | Impressions over 30 days | Pending |
Results
Not measured yet. Results, the raw data as CSV and the source code will be published here once the experiment has run, including any test case that fails.
Work with me
Schedule a technical consultation
Facing the same problem in your own product? I can run the same tests on your stack and fix what they find.