Confirm the PoP from the user's own connection
cf-ray value ends with an airport-style code, and the /cdn-cgi/trace page prints it as colo. CloudFront sends x-amz-cf-pop. Fastly includes the cache node name in x-served-by. Other providers may need a debug header or request flag, so check their documentation.
BASH
# Show PoP-related response headers (run from the affected user's network)
curl -sI https://www.example.com/ | grep -iE 'cf-ray|x-amz-cf-pop|x-served-by|via|server'
# Cloudflare-proxied hostnames only: print the edge location code
curl -s https://www.example.com/cdn-cgi/trace | grep -E 'colo|ip'Find out how your CDN picks an edge
Identify the resolver the user is really using
BASH
# Egress IP of whichever resolver the system is using right now
dig +short whoami.akamai.net
# Via Google Public DNS: shows resolver egress and, if sent, the edns0-client-subnet value
dig +short TXT o-o.myaddr.l.google.com @8.8.8.8
# Compare the CDN's answers through different resolvers
dig +short www.example.com
dig +short www.example.com @8.8.8.8
dig +short www.example.com @1.1.1.1whoami.akamai.net with a normal whois query. If it belongs to the ISP, the user is on the ISP resolver. If it belongs to a public DNS operator or some unrelated network, you have found a likely cause. A related point that confuses customers: changing DNS settings on the router does not always change what a phone or laptop uses, because devices can have their own resolver settings or encrypted DNS turned on in the browser. It is worth asking about that directly.
Test the CDN's answer for an IndiHome prefix
BASH
# 1. Follow the CNAME chain to the CDN-managed name
dig +short www.example.com
# 2. Find the authoritative nameservers for the CDN zone (replace with the real zone)
dig +short NS cdn-provider-zone.example.net
# 3. Ask one of them directly, passing the client prefix as ECS
dig @ns1.cdn-provider-zone.example.net edge-name.cdn-provider-zone.example.net +subnet=203.0.113.0/24 +norecurse
# 4. Pin a returned IP and check which PoP actually serves it
curl -sI --resolve www.example.com:443:198.51.100.10 https://www.example.com/ | grep -iE 'cf-ray|x-amz-cf-pop|x-served-by'--resolve and the header still shows a Singapore code, the IP is probably anycast, or the provider routes it internally through Singapore. At that point DNS is no longer the suspect.
When DNS is correct and traffic still leaves the country
mtr or a traceroute from the affected connection to that edge IP, and watch where the round-trip time jumps and which networks the hops belong to. A path that leaves Indonesia and comes back usually means there is no direct peering or local interconnect between the ISP and the CDN's Jakarta presence, so traffic goes the long way through transit. Tracing the path with mtr covers how to read that output.
You cannot fix routing from the website side. You can, however, write an escalation that a CDN or ISP network team can act on. Include the PoP header from a real affected request, the resolver egress IP, the edge IP that was resolved, the client /24 prefix, and the mtr output, all captured at the same time. Without those details, a report of "slow from IndiHome" is hard for anyone to investigate.
The practical order is short. Confirm the PoP from a real affected connection. Find out whether your CDN steers by DNS or by anycast. If it uses DNS, compare the resolver egress IP, the ECS behavior, and the authoritative answer for the client prefix. If DNS already points to Jakarta, stop changing DNS settings and follow the route. Each step rules out one layer, and by the end you know whether the user, the resolver, the CDN mapping, or the upstream path sent the traffic abroad.