List,I am facing a slow response for a hosted PHP8 web site.. It takes 30 seconds to load the website fully . The application and database( postgresql ) both are separately running on two Virtual Machines in OpenStack cloud. in two 10.184.x.221 and 10.184.y.221 networks respectively.When I used tools like GTMetrix and Webpagetest.org it says there are render blocking resourcesResources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles.
Learn how to improve thisResources that may be contributing to render-blocking include:
URL Transfer Size Download Time xxx.mysite.com/css/bootstrap.min.css 152KB 6.6s xxx.mysite.com/css/style.css 14.2KB 5.9s xxx.mysite.com/css/font/font.css 3.33KB 5.7s here this bootstrap.css, which take TTFB 6 seconds and full loading of the website taking almost extra 24 seconds total 30 seconds to render it..The GTmetrix.com site also show this issue alsoThe Critical Request Chains below show you what resources are loaded with a high priority. Consider reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load.
Learn how to improve thisMaximum critical path latency: 24.9s
How can I overcome this issue ? Is this a VM performance issue or PHP issue ?/Apache issue ? or PHP applicaiton to Database backend connection issue..Excuse me if this an off topic post to httpd list. Hope a lot of people might have their experience to share how to trouble shoot or what may the root cause making this site response too slow.Kindly shed some light here. Any hints where to start most welcome..Any more data needed pls let me know ..I can share .Thanks in advance,Krish.