Chapter 9. Content Delivery Networks
This chapter covers
- CDN options
- Domain sharding
- Developing with a CDN
Every time you open a browser and request a URL, you’re connecting to a server that could be located thousands of miles away. Each request you make might have to make a round-trip to a server that’s halfway around the world! If you host your website in a data center in New York and a user connects to your site from Sydney, each HTTP request travels a very long distance. Each round-trip takes time, and even though it may only amount to milliseconds, it all adds up.
It’s important to keep in mind who might be accessing your website—and from where. While the majority of users might be located in your own country, your website can be ...