CDN

Protocols & Standards
Content Delivery Network.
← Back to Glossary

What is a CDN?

A Content Delivery Network (CDN) is a geographically distributed network of servers designed to deliver web content, applications, and media to users based on their location. By caching content at edge locations worldwide, CDNs reduce the physical distance between users and servers, dramatically improving load times and reducing latency.

How CDNs Work

Edge Server Distribution

CDNs maintain servers (edge nodes or points of presence) in multiple locations:

Content Caching

When a user requests content:

1. Request routes to nearest edge server

2. Edge server checks if content is cached

3. If cached, content served immediately

4. If not cached, edge fetches from origin server, caches it, then serves

DNS Integration

CDNs use intelligent DNS to route users:

Benefits of Using a CDN

Performance Improvement

Reliability and Availability

Bandwidth Savings

What CDNs Deliver

Static Assets

Dynamic Content

Media Streaming

CDN Architecture

Origin Server

Your main server hosting original content. The CDN fetches content from here when not cached.

Edge Servers

Distributed cache servers that store and serve content to users.

PoPs (Points of Presence)

Physical locations containing edge servers, strategically placed for optimal coverage.

CDN Configuration with DNS

CDNs integrate with your domain through DNS:

# CNAME to CDN edge

cdn.example.com. CNAME example.cdnprovider.net.

# Or full site through CDN

www.example.com. CNAME www.example.com.cdn.cloudflare.net.

Popular CDN Providers

ProviderStrengths
CloudflareSecurity features, free tier
AWS CloudFrontAWS integration, global reach
AkamaiEnterprise scale, reliability
FastlyReal-time purging, edge computing
Google Cloud CDNGoogle infrastructure

CDN Best Practices

1. Set appropriate cache headers: Control how long content stays cached

2. Use cache busting: Version static assets for updates

3. Monitor performance: Track cache hit rates and latency

4. Configure origin failover: Ensure availability if origin fails

5. Implement proper purging: Clear cache when content updates

CDNs are essential infrastructure for modern websites, improving performance, reliability, and user experience while reducing load on origin servers.

Put This Knowledge to Work

Use DomScan's API to check domain availability, health, and more.