CDNLatencyPerformanceGlobal SpeedNetworking

Global Website Latency: How Geographical Distance and CDNs Affect Page Speed

Learn why physical distance slows down your website, how global network routing works, and how to optimize CDN caching for international users.

PingXD Team4 min read

If your website server is located in Ashburn, Virginia, a visitor in New York might experience a lightning-fast 15ms response time. But a visitor in Sydney, Tokyo, or São Paulo might wait 200ms to 350ms just to establish a connection—before your server has even begun sending the HTML.

No matter how fast your server CPU or how optimized your database queries are, geographical latency is governed by physics: the speed of light through fiber-optic cables and the routing topology of the global internet.

This guide explores the physical reality of international network latency, the compounding penalty of round trips, and how Content Delivery Networks (CDNs) and edge computing eliminate the distance barrier.

The physics of network latency: The speed of light penalty

Light travels through a vacuum at roughly 300,000 km/s. However, inside glass fiber-optic cables, light travels at approximately 200,000 km/s (a refractive index of about 1.5).

Furthermore, fiber cables do not run in straight geometric lines; they follow highways, train tracks, and undersea trenches, passing through dozens of intermediate switches, optical repeaters, and BGP routing exchanges.

Origin to DestinationApproximate Great Circle DistanceTheoretical Minimum RTTReal-World Internet RTT
New York to London~5,500 km~55 ms70 – 85 ms
San Francisco to Tokyo~8,200 km~82 ms110 – 135 ms
London to Sydney~17,000 km~170 ms240 – 290 ms
Frankfurt to São Paulo~9,800 km~98 ms160 – 210 ms

How network handshakes multiply latency

A single web page visit requires multiple round trips (RTTs) before the user sees anything on screen:

1. DNS Resolution:       1 RTT  (~80 ms)
2. TCP Connection:       1 RTT  (~80 ms)
3. TLS 1.3 Handshake:    1 RTT  (~80 ms)
4. HTTP Request + TTFB:  1 RTT  (~80 ms)
5. Critical CSS/JS:      Multiple RTTs

If your user is 80ms (one way) away, establishing an initial HTTPS connection requires 320ms to 400ms of pure waiting time before a single byte of application content renders.

You can measure this directly across continents using the PingXD Website Speed Test and Ping Test from global nodes (such as US, UK, Germany, France, Japan, Singapore, India, Brazil, Australia, and Canada).

How Content Delivery Networks (CDNs) solve the distance problem

A Content Delivery Network (such as Cloudflare, Fastly, AWS CloudFront, or Akamai) deploys hundreds of Edge Points of Presence (PoPs) worldwide.

CDNs optimize global delivery through three core mechanisms:

1. Anycast BGP routing

With Anycast, multiple edge servers worldwide announce the exact same IP address via BGP. When a visitor requests your site, their local ISP routes packets to the topologically closest edge server, reducing connection establishment from 200ms+ down to 5–15ms.

2. Edge TLS termination and connection reuse

Even when a page request requires dynamic data from your origin server, the CDN terminates the TCP and TLS handshakes at the edge PoP closest to the user. The CDN maintains a pre-warmed, persistent TCP/TLS connection pool over optimized backbone fiber to your origin server, shaving off multiple handshake round trips.

3. Static asset and edge HTML caching

Images, CSS, JavaScript bundles, fonts, and static HTML pages can be cached directly in edge server RAM. When a user in Tokyo requests a cached asset, it is served immediately from Tokyo rather than fetching from a US origin server.

# Recommended Cache-Control header for immutable static assets
Cache-Control: public, max-age=31536000, immutable

Advanced strategies for dynamic applications

1. Stale-While-Revalidate

For content that changes periodically (e.g., product listings or blog feeds), serve the cached edge copy instantly while the CDN asynchronously fetches the latest version from the origin in the background:

Cache-Control: public, max-age=60, stale-while-revalidate=600

2. Edge computing and serverless rendering

Modern frameworks (Next.js, Remix, Astro) deployed to platforms like Vercel or Cloudflare Workers allow server-side logic and database read-replicas to run at the edge, placing application compute within 20ms of 95% of the world population.

3. HTTP/3 and QUIC adoption

HTTP/3 runs over UDP-based QUIC instead of TCP. QUIC combines the transport and cryptographic handshakes into a 0-RTT or 1-RTT connection setup and eliminates head-of-line blocking on lossy mobile connections.

Benchmarking your global performance with PingXD

To evaluate your international performance:

  1. Run a Website Speed Test comparing load times from multiple continents.
  2. Review the DNS, TCP, TLS, and TTFB timing breakdown to verify whether edge caching and TLS termination are working effectively.
  3. Perform a Traceroute Test to inspect the network transit hops between regional test nodes and your CDN edge servers.
  4. Run a full Site Performance & Core Web Vitals audit to identify blocking resources delaying international users.