Edge nativeZero config

One DNS record.
International SEO.

A Cloudflare Worker, a nightly cron, and a KV cache. No origin changes, no JavaScript injected at runtime, ~1ms latency.

Cloudflare Worker

reads โ†

Cloudflare KV cache

writes โ†‘

Nightly Cron Job

crawl โ†’ DeepL โ†’ Claude โ†’ KV

~1ms latency per request. Zero AI calls at runtime.

The Worker

A single edge function classifies the request, reads from KV, fetches the origin, and injects SEO.

// Request: GET de.clientshop.com/scarpe-uomo // 1. Classify: real user? Googlebot? GPTBot? // 2. Read KV โ†’ seo::DE::https://clientshop.com/scarpe-uomo // 3. Fetch origin silently // 4. Inject: <title>, <meta description>, hreflang, JSON-LD // 5. Serve โ†’ x-locra: hit | x-locra-lang: de

The Cron Job

Runs nightly at 02:00 UTC. Crawls, hashes, translates, optimizes, stores.

โ‘ Crawl /sitemap.xml โ†’ extract all URLs
โ‘กHash-compare HTML โ†’ skip unchanged pages (~90% skip rate)
โ‘ขExtract: title, h1, meta description, first 150 words
โ‘ฃDataForSEO โ†’ keyword intent + search volume for target country
โ‘คDeepL โ†’ bulk translate (~โ‚ฌ0.0001/page)
โ‘ฅClaude โ†’ rewrite title (โ‰ค60 chars) + description (120โ€“155 chars) using real target keywords
โ‘ฆStore in KV with 30-day TTL

KV data structure

Three namespaces. Edge-replicated globally.

seo::DE::https://clientshop.com/scarpe-uomo โ†’ { title, description, h1, schema } config::clientshop.com โ†’ { languages, plan, origin, pageLimit } prerender::v1::https://... โ†’ HTML string (24h TTL)

What Google sees

hreflang tags are injected on every page, even before translation is ready. Google discovers all language variants from day one.

<link rel="alternate" hreflang="it" href="https://blumare.it/"/> <link rel="alternate" hreflang="en" href="https://en.blumare.it/"/> <link rel="alternate" hreflang="de" href="https://de.blumare.it/"/> <link rel="alternate" hreflang="x-default" href="https://blumare.it/"/>

What AI crawlers see

GPTBot, ClaudeBot, and PerplexityBot receive clean Markdown automatically. No config needed.

Raw HTML

<html><head><script src="/app.js"></script>... <div className="wrapper_x9z"><nav>... <h1 className="title__primary">Boat Tours</h1>

Clean Markdown

# Boat Tours Lampedusa Small group tours with local guides. From โ‚ฌ45 per person.