Skip to content
Veltoryx Technologies
ProLesson 3.4Intermediate6 min readUpdated 31 October 2026

Content Delivery Networks and Edge Caching

Understand global CDN Points of Presence, Origin Shield request collapsing, HTTP cache headers, and dynamic Edge compute execution.

No matter how efficiently your backend microservices and databases are tuned, you cannot change the laws of physics. Light travels through fiber optic cables at approximately two hundred kilometers per millisecond.

A network round trip from Tokyo to an origin data center in Northern Virginia spans twenty thousand kilometers. Even without server processing time, establishing a TLS connection and completing an HTTP request requires at least one hundred and fifty milliseconds of pure packet transit time.

Content Delivery Networks (CDNs) solve this physical constraint by distributing hundreds of Points of Presence (PoPs) across major cities worldwide, caching content and terminating connections right next to the user.

CDN Edge Caching and Origin Shield Architecture
Fig. 1 · CDN Edge Caching and Origin Shield Architecture

01The Anatomy of a Modern Content Delivery Network

A CDN is a geographically distributed network of proxy servers that sit between end users and your origin infrastructure.

Points of Presence (PoPs) and Anycast

A CDN provider operates hundreds of data centers known as Points of Presence (PoPs). By utilizing BGP Anycast routing, all PoPs announce the identical IP address to internet service providers.

When a user in Sydney types your domain name into a browser, global routing tables send their packets to the Sydney PoP. When a user in Frankfurt makes the same request, their packets land in Frankfurt.

Crucially, TCP and TLS termination happens at the edge PoP. Because the three-way TCP handshake and TLS cryptographic key exchange occur over a five-millisecond local connection instead of a two-hundred-millisecond transoceanic cable, page load latency drops dramatically even before any cached bytes are transmitted.

The Origin Shield Tier

When an edge PoP experiences a cache miss, it must fetch the asset from the origin server. If you have three hundred PoPs worldwide, and a viral video is published, three hundred separate PoPs might query your origin simultaneously.

To prevent this distributed thundering herd, CDNs deploy an Origin Shield. The Origin Shield is a centralized, high-capacity caching layer positioned in the same geographic region as your origin data center.

All edge PoPs route their misses through the Origin Shield. The shield deduplicates identical requests using request collapsing (request coalescing): if forty edge PoPs request banner.webp at once, the Origin Shield sends only a single request to your backend servers, caches the response, and streams it back to all forty PoPs.

Loading the rest of the lesson…