> For the complete documentation index, see [llms.txt](https://wiki.dmmax.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dmmax.me/system-design/cdn.md).

# CDN

## Pros of using CDN

* Faster website performance and load times
* Reduced server load and improved reliability
* Better security and protection against cyber attacks
* Global reach and better user experience
* Efficient handling of traffic spikes

## Cons of using CDN

* Can be expensive for high-traffic websites
* Setting up and configuring a CDN can be complex
* Issues with cache consistency may arise
* Potential privacy concerns and data collection by CDNs
* Possible introduction of latency or other performance issues

## Links

* [Video by ByteByteGo: What Is A CDN? How Does It Work?](https://youtu.be/RI9np1LWzqw)
