Edge Computing
This page is server-rendered at Cloudflare's edge โ dynamic content without client JavaScript.
Demo mode: Values below show the shape of live Cloudflare edge data.
When deployed as a Cloudflare Worker with SSR, these come from real request headers.
Your Request Info
Country
US (via cf-ipcountry)
City
San Francisco (via cf-ipcity)
Edge Colo
SFO (via cf-ray)
IP Address
203.0.113.42 (via cf-connecting-ip)
Language
en-US (via accept-language)
Rendered At
At request time โ zero cache
How It Works
Opt-in SSR
Set export const prerender = false in the page frontmatter.
This single page renders on the server; all others remain static HTML.
Cloudflare Headers
Cloudflare automatically adds cf-ipcountry,
cf-ipcity, and
cf-ray to every request.
We read them in Astro's server frontmatter at the edge.
Zero Client JS
Even though this page is server-rendered, it ships zero JavaScript to the browser. Dynamic data is baked into the HTML at the edge โ no client hydration.