WSWhat Scene?

Learn · Performance & optimization

What is a CDN, and do I need one?

A CDN (content delivery network) is a network of servers around the world that store copies of your site's files and serve them from the location nearest each visitor. That shorter distance means faster loading. Most sites with a global or growing audience benefit, and many hosts now include one.

Without a CDN, every visitor fetches your site from one origin server, so someone far away waits longer. A CDN caches static files (images, scripts, styles) close to users, cutting load times and easing the load on your main server.

CDNs also add resilience and security, absorbing traffic spikes and helping fend off certain attacks. For a small local site they're optional, but for anything reaching a wide or distant audience they're close to standard, and often cheap or free at small scale.

Updated July 2026

Related

Want this built, not just explained?