|
|
|
|
|
by vijayaggarwal
4382 days ago
|
|
There are so may factors at play in determining the amount of gain from using such a service, e.g., 1. How widespread the usage is. The more widespread it is, the better the chance of finding the resource in the browser cache itself, instead of having to make external request. 2. Geo distribution of resource by the CDN. The closer the nearest CDN server to the end user, the quicker the delivery. 3. Popularity of CDN domain used to serve the resource. Since a DNS request is potentially involved in fetching the resource, the domain name should be widely used to keep the DNS cachces warmed up. I am especially skeptical towards adding DNS calls to my page. One for HTML and one-two for static resources is what I have seen works best in practice, especially with modern browsers that do not have the two parallel downloads per domain limit. |
|