Chapter 7
Answer 1
The use of CDN does improve the loading performance of a web page. This is because of the way the browser caches the content from a given URL. Sometimes, we can gain the following benefits when we use an existing CDN to serve some of the content:
- For some of the frontend libraries that are common, there is a chance that the libraries are already cached by the user's browser while they visited some other website, which include the content from the CDN. This helps us to avoid redownloading those libraries and reduces the bandwidth usage and improves the loading speed of the page.
- CDNs can also route the request to the servers based on the user geography so that the content is downloaded with the...