Mike Blazer PRO

Black Friday: Get 25% off PRO

Evergreen Crawl: Cloudflare Workers Capture Live Bot HTML on the Fly

Standard server logs record only URLs, status codes, loading times, and referrers while omitting the actual HTML payload returned to search bots, forcing a separate crawl just to audit page titles, indexation, or hreflang.

Serge Bezborodov describes deploying an Evergreen Crawl setup that sits between incoming search or AI bots and the origin server to capture live bot-facing page data without running synthetic crawls or adding server load.

Because Cloudflare already sits in the traffic path for an estimated 40% to 50% of sites — and, by its own account, hosts about 20% of the internet — the setup injects a Cloudflare Worker into the request-response chain.

When Googlebot or an AI bot requests a URL, the origin server returns the HTML response, and the worker reads and parses that page on the fly using Cloudflare's native parser before passing it back to the bot.

The worker writes the parsed page-level data directly into a Cloudflare D1 database, eliminating the need for a separate server or paid Cloudflare account.

Connecting Claude to the D1 database then generates custom analytics and alerting dashboards without writing SQL by hand, tracking log data, AI bots, and day-by-day indexation shifts — such as a Thursday deployment suddenly generating non-canonical pages — while leaving conventional crawlers for staging environments, pre-deployment checks, and unvisited new pages.

The entire PRO archive is yours — until your membership ends.

Get in PRO →