Inject Geolocation Data at the Edge 🔪

Demo of a serverless edge function that intercepts the HTTP response body to inject Geolocation data into a static HTML page before it reaches the user.

Your location: Columbus, United States

This is all done at the CDN edge; there is NO clientside JavaScript, and NO round trip to the origin server (fast).

Made with 🖤 by Dan Urbanowicz

View on GitHub