Speeding up the site. How to understand whether this is relevant for your site

Often the speed of sites is evaluated very subjectively. That is, the bosses / developers / admins are satisfied and do not infuriate - then everything is fine. Is it so? Marketers evaluate their target audience very well, but not everyone gets their hands on it to see how this target audience sees your site. Geographically distributed check of response time from the website monitoring service HostTracker will help to find the truth.



How acute is this problem?


In one of the previous publications we cited entertaining infographics regarding 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 spins using SEO techniques with many shades of gray. Then, nevertheless, the main emphasis is shifted to the content. And only then, perhaps, hands reach optimization. This is true for almost all small, medium and even non-specialized in the field of IT large companies (for example, banks). Do not believe? Enter any query in Google - you will be very lucky if all sites from the first page of delivery will work out quickly. As a rule, these are 2-3, which, in fact, are leaders in their field. Dozens and hundreds of the rest left everything to chance.

Why the site can load for a long time and what can be done about it


Actually, the request can be divided into several components: determining the location of the site, establishing a client-server connection and displaying data from the client. The first is entirely dependent on the hosting. If the DNS is determined poorly and for a long time, or if there is a large ping connection, you need to require better conditions or even move immediately. The second is on your conscience, although we still keep the issue of hosting in sight. What is there to pay attention to?

  • Scripts on the server side. If they contain complex calculations, unload large volumes from the database, and the like, you should pay attention to them. Sometimes for optimization you have to redo the entire site logic or even change the development framework. If you started from 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 reason for the "brakes." Hang a site with a variety of usefulness - why not? But it’s better to give up all this, except for the most critical moments. However, some scripts from leading market companies, such as Google, are constantly being improved and keep up to date. That is, they run asynchronously, intentionally minimize inconvenience for users, given the real page loading process. But not everyone can do that. Until.
  • Downloadable content. You definitely need to show this wonderful gallery on the first page? But these lists, for relevance in real time, loaded from the database - without them in any way? Database and media file optimization are a number of big questions about caching, CDN and query optimization. Therefore, it is best to keep this on the first page of the site to a minimum, and if necessary, turn to good specialists. And yes, it is usually expensive.

Notice the problem - the first step to solving


When do you need to start dealing with this issue? Ideally, as in raising a child, even during development :)
But in practice it happens in different ways. You can spot the problem using the HostTracker monitoring service .
Here is a real example of the behavior of the site of one popular television channel:
Here the peaks are checks from Asia. As you can see, the site is not optimized for an Asian audience.
You can also notice the separation of response time into three components: the time it took to determine the DNS, the time it took to connect and load the page headers, and the actual load time of everything else. 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, we can say: “But I do not need Africa and Asia. All my clients are in N. » And there is also a solution for this! Unfortunately, it will not be possible to sort by specific cities yet (for technical reasons), but to select a region of the world in order to filter out false positives from the distant kingdoms is quite:
I note that we often receive requests to optimize our functions, so we have them now - the result of the practical use of the service by our customers. At the moment, we are working on a function that will allow us to simulate a full page load, along with all the whistles, because so far only the code is loading. Therefore, if you have any questions or suggestions, we will be glad to take them into account.