Often, the speed of sites is estimated very subjectively. That is, the authorities / developers / administrators are satisfied and not enraged - it means that everything is fine. Is it so? Marketers appreciate their target audience very well, but not everyone reaches out to see how this target audience sees your site. Geographically distributed test response time from the
service monitoring web sites HostTracker helps to find the truth.

How acute is this problem?
In one of the previous publications, we provided an
entertaining infographic on the impact of site speed on traffic and conversion. From experience we can say that website development usually takes place in several stages. First, the customer wants it to be "beautiful." And the site is being promoted using SEO techniques with lots of shades of gray. Then the main stress is shifted to the content. And only then, perhaps, reach the hands of optimization. This is true for almost all small, medium and even non-specialized IT companies in large companies (for example, banks). Do not believe? Enter any request in Google - you are very lucky if all sites from the first page of the issue will work quickly. As a rule, these are 2-3, which, in fact, are the leaders in their field. Tens and hundreds of others let everything go by itself.
Why the site can be loaded for a long time and what can be done about it
The actual request can be divided into several components: determining the location of the site, setting up a client-server connection and displaying data at the client. The first is entirely dependent on the hosting. If the DNS is bad and long determined, or a large ping connection, you need to demand better conditions or even immediately move. The second is on your conscience, although we still keep the hosting issue under review. What is there to pay attention to?
')
- Server side scripts. If they contain complex calculations, unload large volumes from the base and the like, you should pay attention to them. Sometimes for optimization it is necessary to alter the entire logic of the site or even change the development framework. If you started with a business card site, and then suddenly an online store turned out - then, most likely, this is just such a case.
- Client side scripts. Probably the most popular cause of “brakes”. To hang around the site with various usefulness - why not? But it is better to give up all this, except for the most critical moments. However, some scripts from leading companies of the market, such as Google, are constantly being improved and keep up with the times. That is, they run asynchronously, deliberately minimize inconvenience for users, taking into account the actual page loading process. But not everyone can do that. Until.
- Downloadable content. Do you really need to show this wonderful gallery on the very first page? But these lists, for real-time relevance loaded from the database - without them in any way? Database and media file optimization are a whole series of big questions about caching, CDN and query optimization. Therefore, it’s best to keep this on the first page of the site at a minimum and, if necessary, contact good specialists. And yes, it is usually expensive.
To notice a problem is the first step to a solution.
When do you need to start addressing this issue? Ideally, as well as when raising a child, even during development :)
But in practice it happens in different ways. You can notice the problem with the help
of the HostTracker monitoring service .
Here is a real example of the behavior of the site of a popular TV channel:

Here the peaks are checks from Asia. As we see, for the Asian audience the site is not optimized.
You can also notice the division of response time into three components: the time to determine the DNS, the time the connection is established and the page headers load, and the load time of the rest. That is, to determine the stability of the site and the weakest link in its speed is very simple.
Also, taking a look at the example above, one can say: “But I do not need Africa and Asia. All my clients are in the city of N. ”And there is also a solution for this! Unfortunately, it will not be possible to sort out for specific cities (for technical reasons), but to select a region of the world to weed out false alarms from the distant kingdoms is completely:

I note that we often receive requests for the optimization of our functions, so their what we have now is the result of the practical use of the service by our clients. At the moment we are working on a function that will allow you to simulate a full page load, along with all the whistles, for now only the code is loaded. Therefore, if you have any questions or suggestions - we will be glad to take them into account.