: How to analyse website performance I've tried searching a lot and basically here is the problem. I have a website but I'm unable to pin point the reasons of why the performance of the website
I've tried searching a lot and basically here is the problem. I have a website but I'm unable to pin point the reasons of why the performance of the website is so slow. We have shifted to a high end server separated the webserver and the database server.
MySQL Caching, HTML / CSS & JS minification is done , All basic issues which Google Speed test and GTmetrix could give is also done but still the initial loading of the website itself takes 3-10 seconds. Some pages load very slow is there any kind of application or server management tool which we can use to track and see what is actually slowing up and then work on fixing it ?
More posts by @Correia994
2 Comments
Sorted by latest first Latest Oldest Best
You can also use Apache Benchmark, but 3 seconds on request tells me that you should debug your code and look for programming errors. Check php logs for clues. If you are using mySql maybe you have some sort of slow query, check the slow-query log file.
Try also to profile your scripts using xdebug or other tools. See this question.
One of the tools i use to diagnose speed issues with web pages is the waterfall diagram. Most modern browsers have this in their developer tools. But even better is webpagetest.org
After you ran your url through webpagetest you can see both the first view and a second load that uses any cached resources.
In the waterfall diagram tou can see which resource is loaded when.
When analysing these waterfalls keep in mind that not all requests are equal.
Without the first html request you have nothing.
But also keep in mind that css and synchronous javascript can block the browser.
Also some requests may prevent from being fully loaded but being perfectly usable for a user, some icon for instance. So don't focus too much on a page being fully loaded. More important is that the important things are visible and usable.
A good starter may be this free course
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.