Build Powerful Web Apps on the Edge by Sam AfigoBuild Powerful Web Apps on the Edge by Sam Afigo

Build Powerful Web Apps on the Edge

Sam Afigo

Sam Afigo

The Problem

Webflow, Wix, and Framer are great for building marketing sites and landing pages, but they fall short when you need dynamic, database-driven content served through clean URLs. Out of the box, there's no native way to route a visitor from www.domain.com/blog_title to dynamically fetched content without exposing the actual source URL.

The Solution

I built an edge-powered content routing layer using Cloudflare Workers that sits in front of the site. Here's how it works:
A visitor hits a clean URL like www.domain.com/blog_title
The Cloudflare Worker intercepts the request and looks up that URL path in a database (Cloudflare D1 or Google Sheets, depending on the client's needs)
The Worker fetches the matching page content and serves it back to the visitor, all without exposing the actual content source URL
The visitor sees a seamless page under the original clean domain
This approach gives site owners full control over their URL structure, keeps source URLs hidden, and works with any frontend builder (Webflow, Wix, or Framer) since the Worker handles routing at the edge before the request ever reaches the site.

Why It Matters

Clean, SEO-friendly URLs without platform limitations
Hidden source URLs for content security and branding
Edge performance via Cloudflare's global network, so content loads fast everywhere
Flexible data layer using Cloudflare D1 for structured data or Google Sheets for clients who want a simple CMS-like editing experience
Works with any frontend since the routing logic lives at the edge, not in the site builder
Cloudflare AI was also integrated for content enrichment and processing tasks within the pipeline.
Like this project

Posted Jul 2, 2026

Edge-powered web apps using Cloudflare Workers, D1, and AI to serve dynamic content through clean URLs on Webflow, Wix, or Framer sites.