For webmasters, speeding up your website is always a top issue to bring the best experience to your visitors. If a website is slow to access, it will be difficult to keep track of visitors.
In my WordPress accelerator tutorial , I shared a lot of techniques and experiences to speed up WordPress. But I realize that many of you do not really understand how to see the real speed in your website. To avoid misunderstandings, in this article I will say in detail how to check the actual speed on the website and the note when checking the speed of the website.
1. WHAT FACTORS AFFECT WEBSITE SPEED?
The loading speed of a web page on the browser will depend on a lot of factors, here you have the basic elements as follows.
1.1) Location of the server
This is the most important factor to properly evaluate the true speed of a website. The closer a server is to its location, the faster it will be, because if the servers are located in different countries, the connection has to go through many different networks, which will take more time.
In some cases, such as broken sea cable, if you access the website using a foreign host will be slower. That is why foreign host packages such as Bluehost , Goddady are not as fast as hosts in US, although they are extremely good host providers.
1.2) Ability to handle server access requests
When you visit a web page, the browser will send a request for access to the webserver, where the webserver receives the request and categorizes it and sends it to other applications if it It’s like PHP, MySQL, Ruby, and then sent back to the webserver, then the new webserver sent to the browser for processing and display.
So, if the server you belong to good, high speed internet connection but the configuration is not correct, the error is less processing ability, so the wait time of the user longer.
In this situation, try to optimize the code inside the website very well and limit the bug / bug as little as possible. As for servers, you can use other techniques to increase server processing time, such as caching your site, optimizing code handling such as using PHP. , XCache.
1.3) Website capacity
If your website has too many images and content up to a dozen MB, then surely the load time will be long whether the server is good enough. At that speed will depend on the quality of the network access, the network speed is 10MB they download in a jar but the network is a problem that is big.
Therefore, you should limit the use of large size images on the website, and combine the optimal image optimization steps for use on the website.
1.4) Browser caching
Therefore, you should set the browser to compress the contents of the website into gzip and save it to caching for faster access to the next time.
2. HOW TO CHECK WEBSITE SPEED
2.1) Manual check on the machine
The first thing you should do is to test the website speed completely manually on your computer. Please exit the account (or use a different browser) and then delete the cache, cookies. Then right-click and choose Inspect Element (or F12 ).
If you reload the second time faster because the static data on the website has been cached.
This is the most accurate and objective test based on the speed of your internet but if your visitors are also in the same country with you then the results will be comparable.
2.2) Should Pagespeed Insights be used to test speed?
NO NO! I do not recommend using Google Pagespeed Insights to check website speed because it is not a tool to evaluate the speed of the website but just evaluate the optimization of the website based on Google standards. This means that the speed of your web site is not likely to reach the high score of Google Pagespeed Insights, which scores high enough not to have it load faster than the low-scoring site.
I am quoting a friend of the WordPress group in Vietnam.
Also do not think that high Pagespeed Insights points are SEO friendly , no, Google does not say so. In short, it’s just a standard W3C, you do not reach 100% nor die anybody.
2.3) What tools to check website speed?
First of all, I would like to emphasize that checking the website speed by hand as above is the most objective. But if you want to test websites on multiple speed different countries will need to use the tools to do this as Pingdoom Tools, GTMetrix, WebPageTest.
But you should note that the above tools will test the speed from a server in a certain country. That means that if you use a host in Vietnam that checks the speed of the foreign service then the results are very disappointing.
In addition, there is a more advanced and cost-effective website rating tool, Blitz.io .
In this article, my goal is for you to share more about the ability to assess the speed of a website as well as the speed of the website more dependent on other factors. Hopefully after this article, you will learn how to check the exact speed of the website, as well as no longer so dependent on the speed test tool, to avoid misunderstandings.