A content delivery network (CDN) is a collection of global servers (network) that catches and delivers social networks, live streaming media, downloadable objects (documents, software, media files), web objects (scripts, graphics and text), on-demand streaming media and applications (portals, e-commerce) to a user based on the geographic locations of the user, irrespective of the origin of the content and a content delivery server.
How CDN Works?
The browser downloads every referenced asset from a single origin server, when a user visits a website that doesn’t use a CDN. Each asset must be downloaded from across the world if the origin is in Australia and the user is in China. In this case, due to higher latency, users experience longer page load times.
By reducing the time needed to access a file, a CDN distributes files to servers around the globe. For instance, users in China could download files from a neighboring server in Asia in place of one in Australia.