It feels the CDN edge functions are the new Jamstack. It's fast but comes at a high cost and the excitement shifted from static pages to literally data distributed near the user.
Edge Functions are deployed to 29 regions globally, which means that you can use them for low-cost, low-latency operations.
[0] Postgres Functions: https://supabase.com/docs/guides/database/functions