Blog

Why we rewrote our geo-targeting resolver

Nov 30, 2026 · 0 views

Geo rules used to be evaluated in insertion order, which meant an unweighted rule could shadow a weighted one. The new resolver sorts by weight, then by specificity, and it always falls through to the default destination — never to nothing. Country detection reads the edge-provided header when a CDN is in front of Ziplify, and otherwise falls back to a bundled range table. The resolver is intentionally boring: it is easy to reason about, and every decision is logged.