This landing page is static content delivered globally by Cloudflare Pages under the
primary www hostname.
Pages, Functions, redirects, and edge diagnostics.
This lab demonstrates how Cloudflare can serve static application content through Pages, run dynamic logic with Pages Functions, normalize routes with redirects, and expose practical diagnostics from the Cloudflare edge.
Lab 3 Identifiers
Loading live /api/info response...
Lab Routes
/app/
Static application route served by Cloudflare Pages under the primary hostname.
Open /app/ →/api/info
Dynamic Pages Function response showing service, Cloudflare colo, country, and time.
Open /api/info →/health
Health check endpoint for quick availability and edge reachability testing.
Test /health →Restored Diagnostics
/diag
Shows request and Cloudflare edge metadata including colo, TLS, hostname, and path.
View /diag →/headers
Displays request headers visible to the edge function in a readable table.
View /headers →/app redirect
Normalizes /app to /app/ for consistent route behavior.
What This Demonstrates
www.ybarra-cflab.com stays owned by Pages instead of being moved back to a standalone Worker.
/app normalizes to /app/, giving the application path predictable behavior.