One of the problems that every webmaster has to deal with when launching his web page, is the optimization of the performance to achieve an acceptable loading speed. This factor is essential to take care of the user experience and the search engines take it into account when positioning it , so it is vital to get a response from the server as efficiently as possible.
As much as they tell you that the weight of your web page should not exceed 100 Kb, the most important thing is really to take care of the time it will take to be able to visualize the content on the user’s screen. This is what is known as web rendering time in the browser.
There are 3 fundamental lines of work:
- Performance of the server that processes the page request
- Location of requested resources
- Optimization of the elements that run in the browser
On this occasion, I wanted to divide the article into several parts, to make it less dense and focus each entry to a different reader profile (owner of a website without programming knowledge and advanced webmaster). This time we will see the 3 main lines of work on which we must emphasize:
When a user requests a resource from a website, the server where it is hosted takes a while to process the request. Logically if the website is composed of a static page with 99% of the content in text format and with hardly any visual elements, the server will take very little time to process it. But if we want a moderately professional page that is attractive to the user, we need to have a powerful server that gives us a quick response.
My advice is to hire a quality accommodation service, which offers maximum guarantees, taking into account that the cheap at the end is always expensive. If you want to get it right at this point, I recommend you follow the advice to choose Arturo García hosting . Keep in mind that this is like when you go to buy a PC, you have to find the equipment with the best features within your possibilities (processor, RAM, type of hard drive, operating system … etc.).
Location of requested resources
As we said, when requesting a page from a website it takes a while to receive a response from the server where the page is located. At this time the server will receive, process and deliver the response to the request, which is known as network latency . Logically, the further the user is from the physical location of the resource, the longer this process will be delayed.
This is the question why I always recommend paying a little more for a web hosting physically located in the country where the users to whom the site is located are located. It is not only an outburst of patriotism that comes to me when I see the relocation of companies that go to China and load the Gross Domestic Product of my country, but a purely practical issue.
However, this technique would limit us to always focus on several countries and, in countries as large as the United States, paying for a home hosting would not guarantee eliminating latency. That’s why there are CDN services.
What are CDNs?
CDN, is the acronym for Content Delivery Network , in Spanish Content Delivery Network . Basically what these networks do is replicate the content of a website in its different nodes, so that when a user requests a resource, the copy that is physically located closest to him is offered. This way we reduce the latency to the maximum, maximizing the bandwidth, in addition to obtaining other advantages such as a greater availability of the website .
Therefore it is advisable that if you focus on several countries or can not adequately cover the geographical area with the hosting you are going to hire, add a CDN service to the package. Of course, keep in mind that you must ensure that the nodes that make up the CDN have an optimal performance that processes the request as quickly as possible. If you want to know more about this topic, I recommend you read the 11″ frequently asked questions about cdn> (in English).
Optimization of the elements that run in the browser
80% of the response time of a website has to do with what is executed on the client side (name given to the entity that makes the resource request, ie the web browser). So this question is the one that can slow down the loading time, much higher than the size. We speak mainly of the following elements:
- Multimedia content : Images, Videos
The more dynamism we want to give the page, the richer and more attractive we want the content to be for the user, the more problems we will have to solve this issue. This is the main reason why Google has the simplest page you can imagine, to reduce loading times, thus increasing the number of searches made by users and thus getting more impressions of advertising. And the main reason why they promote the use of accelerated” pages for mobile amp> , which are very basic pages but load fast on mobile devices.
But that does not mean that we have to give up a dynamic and interactive website . In the next entry, If you want to know what you can do to solve these issues, I recommend my article on how to optimize the loading speed of your website easily.