← Back to projects

Case study 05 / 07 · ● Live · 2026

Minxlink

Multi-tenant URL shortener with geo-routing, A/B testing, and custom domains.

An advanced URL shortener with Clerk-based multi-tenancy, per-workspace custom domains, geo and device routing, A/B splits, and Cloudflare Workers KV for fast redirects. Built for marketing teams that need click-level attribution.

6+Redirect policies
3Variant dimensions
4Independent services
Visit live site →View source
01 / The problem

Marketing teams need branded short links with real targeting, but most shorteners are simple slug-to-URL maps with no policy layer.

02 / The approach

Policy logic runs at the edge: a Cloudflare Worker handles geo, device, and A/B variant resolution, plus scheduling, password gates, click limits, and blocked IPs, and renders interstitial and social-preview pages before requests reach the backend.

03 / The catch

Caching redirect decisions at the edge means invalidation has to be exact: a stale cached variant sends the wrong audience to the wrong link until the cache expires or is purged.

Highlights

Like what you see?

Let's build something together.