Test mode: shadow, ai and all
Last reviewed
Keep your current prerender service on and run Prebaked in shadow mode: it gets a background copy of each crawler request and renders the page, but its answer is never used. When the dashboard shows Ready to switch, move AI crawlers first, then all crawlers.
The three modes
| Mode | Who answers crawlers |
|---|---|
shadow |
Your current service answers every crawler. Prebaked renders and caches in the background. |
ai |
Prebaked answers AI crawlers. Googlebot, Bingbot and link previews still go to your current service. |
all |
Prebaked answers every crawler. You can cancel your current service. |
Steps
- Open the domain's Switch test page in the dashboard.
- Verify your domain.
- Optional: Test without installing. Prebaked reads your sitemap, renders up to 20 pages and compares them with what your current setup serves to Googlebot. You can download the result as CSV.
- Install in
shadowmode. On Cloudflare, choose the mode in the dashboard. Elsewhere setPREBAKED_MODE=shadowand deploy, restart or reload. Per integration: Cloudflare, Express, and the other guides on Switch. - Watch Readiness. It turns to Ready to switch at 90 % coverage and 98 % render success, with at least 20 requested pages, from the last 7 days.
- Switch to
ai, then toall.
On Cloudflare the Worker follows the mode you choose within 60 seconds.
Roll back
Choose the previous mode. On Cloudflare that is Back to shadow in the dashboard. Elsewhere set the previous mode and redeploy or restart. Prebaked never changes your current service.
FAQ
Do you need my current service's token?
No. Your current setup keeps calling your current service, and Prebaked only gets a copy of each crawler request.
Does shadow mode slow down my site?
Not for visitors. With the edge integrations and Express, the copy is sent in the background. Your origin sees about twice the crawler-driven page fetches while both services run.
Does the test count toward my plan?
Yes. Pages rendered in shadow mode and by Test without installing count toward your plan. You can run the test during the 30-day free trial.
How do I go back?
Choose the previous mode. On Cloudflare, press Back to shadow; it is picked up within 60 seconds.