I'm developing an API in PHP. I need to know in which region this api is being requested. If possible, with the lowest latency policy (Although I didn't find anything to help with that).
For that, I'm using a global load balancer with CDN in my cloud function.
I've tried to look at the request headers and environment variables, but nothing reminds me of the region where the global load balancer with the CDN is caching the API.
From now on, I am very grateful for any help...