How to make a website was loaded at the user from the nearest server?
Is there a site that people visit from all over the world. The server is in Germany, respectively, people from the US or say Australia's relatively high first response time. I would like to have multiple servers in different locations, and that the site was loaded from the nearest server to the user.
Are there any solutions on this? I know about CDN, but they are for static content and website pages are generated dynamically.
Multiple entries A/AAA in DNS.
The browser sends a request to all the servers who is the first answer from the server list - so in the future is communication.
And for the statics, for heavy content (video, photos) - there are specialized CDN solutions
elnora.Koch answered on March 19th 20 at 08:58
In fact, you wonder about the statics. The CDN may not cache the content or to cache for a short period. The bonus here is that if you, for example, in AWS, then there is the whole network connected with broadband and all the content transfer is relatively small compared with the generation time of the content and just faster tie between the client and the CDN itself.