|
|
|
|
|
by jiggawatts
213 days ago
|
|
The reason why using a CDN is so effective for improving the perceived performance of a web site is because it reduces the length (and hence speed of light delay) of these first 7 round trips by moving the static parts of the web app (HTML+JS) to the "edge", which is just a bunch of cache boxes scattered around the world. The user no longer has to connect to the central app server, they can connect to their nearest cache edge box, which is probably a lot closer to them (1-10ms is typical). Note that stateful API calls will still need to go back to the central app server, potentially an intercontinental hop. |
|