How does CDN Redirection work?
The CDN redirection should direct the http request to the FASTEST pop available. The way we determine "FASTEST" is by using the ping latency between the available CDN edge servers and the end user DNS ip address.
DNS ip address is used rather than browser ip address because the redirection decision has to be made on the DNS level, before it redirects to the CDN edge server where we get the browser ip.
You can simulate the CDN redirection at https://debug.onappcdn.com/dns .