What is the function of "Edge Function"?
what is the function of "Edge Function"? what does make it different from backend with the api (nextjs or express)?
I have read the documentation and watched youtube videos, I still don't understand about the "edge function". why we need it or when to use it?
Thank you all
3 Replies
Well if you don't have a backend then you need them if you have secure server things you need to do.
Edge functions are also run closest to the user. Unless your backend has some sort of edge feature then it runs at the location of your server so could be far from the customer.
Database Functions | Supabase Docs
Creating and using Postgres functions.
Thank you gary