Replacing Legacy Dynamic Rendering (Prerender.io) with Real SSR or SSG
Serving static snapshots solely to Googlebot while users get slow client SPAs triggers freshness mismatches, cache bills, and AI bot misses.
Dmitry K., Technical SEO Lead · SEO Space
Indexation benchmark targets
- Bot vs user HTML
- 100% unified output
- Shadow middleware
- Removed completely
Why Serving Different HTML by User-Agent Breaks Modern Search
Google officially downgraded dynamic rendering to a temporary workaround years ago. Caching headless Chrome snapshots in front of a client SPA leaves pricing stale when inventory changes, misses newer AI crawlers missing from hardcoded user-agent lists, and doubles infrastructure complexity.
Unify bot and human HTML on one pipeline: generate static pre-rendered HTML at build time for stable marketing/editorial pages (SSG) or stream server-rendered HTML (SSR/ISR) for live inventory.
- Audit reverse proxies to remove User-Agent switching between Prerender/Puppeteer pools and origin servers.
- Confirm via curl with both Chrome and Googlebot User-Agents that identical H1, body, price, and JSON-LD arrive in 200 OK HTML.
- Reclaim third-party pre-render SaaS costs while improving real user Core Web Vitals simultaneously.
Step-by-Step Transition from Prerender Snapshots to Real SSR/SSG
Audit which URL groups are truly static (guides, solution pages, pricing) versus genuinely dynamic (personalized dashboards, live auction inventory). Pre-render stable routes into static HTML at build time for CDN edge delivery under 50ms, and migrate dynamic catalog views to streaming SSR with short stale-while-revalidate caching.
# Verify identical full HTML arrives regardless of User-Agent
curl -s -A "Mozilla/5.0 Chrome/130.0" https://seo-space.online/ | grep -c "<h1"
curl -s -A "Googlebot/2.1" https://seo-space.online/ | grep -c "<h1" Decommissioning Legacy User-Agent Proxy Rules Safely
Remove User-Agent routing branches inside Cloudflare Workers or Nginx progressively by directory, comparing Search Console Crawl Stats, rendered page screenshots, and Core Web Vitals before shutting down legacy headless-browser proxy clusters completely.
| Architecture Mode | Crawl Freshness | Cost & SEO Risk |
|---|---|---|
| Dynamic Rendering Proxy | Stale cached HTML snapshots | Deprecated workaround; misses new AI bots |
| Build-time SSG + CDN | Exact latest deploy HTML | < 50 ms TTFB; 100% bot/human parity |
| Streaming SSR + Edge Cache | Near-instant dynamic inventory | Full parity across Googlebot & RAG bots |
Need this indexation setup audited on your domain?
Send your website URL. We check raw HTML parity, log crawl hits, canonical discipline, and sitemap architecture manually within 24 hours.