A CDN is a globally distributed network of edge servers that caches website content close to end users — reducing latency and origin server load.
Explanation
When a site uses a CDN (Cloudflare, Fastly, Akamai, Bunny), a request from Jakarta hits a Singapore edge server that has a cached copy of the site rather than travelling all the way to an origin server in Virginia. First hit is a cache miss and slower; subsequent hits within the cache TTL are fast. CDNs also provide DDoS protection, TLS termination, image optimisation, and edge compute. The proxy pattern powering CDNs is technically a reverse proxy — CDN sits in front of the origin, hiding origin IPs and terminating client TLS. AnyProxy uses CDN concepts on its edge for the free-tier CSS/JS/image assets, but the proxied session itself always fetches destinations live per request.
Related terms