Skip to content

danurbanowicz/edge-function-inject-geo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Status

Edge Function Inject Geolocation Data

What is it?

A serverless Edge Function example that intercepts the HTTP response body to inject Geolocation data into a static HTML page before it reaches the user.

This is all done at the CDN edge; there is no clientside JavaScript and no round trip to the origin server.

Check out the Demo Site

Or deploy your own copy to Netlify

Deploy to Netlify

Bug reports, feature requests, etc

This repo is part of an ongoing project I am working on exploring common use cases for serverless functions, and I welcome contributions and suggestions. Feel free to submit an issue or PR!