I have a basic (Small) tier of Azure Web App hosted in Western Europe with an SQL database in the same region. Always On is on. Please note that the target audience for my site is in Europe.
Please note that the website is based on CodeIgniter and runs on php 5.6 .
The page loads very slowly, although everything is fast in the local environment. After running PageSpeed ββInsights on my site, I get the following rating:
Reduce server response time In our test, your server responded in 1.7 seconds. There are many factors that can slow down server response time. Check out our guidelines to find out how you can track and measure where your server spends more time.
When you check a site with developer tools get a similar picture: 
As you can see, the initial answer is really bad. What could be the problem?
UPDATE / SOLUTION
Accepting the recommendations of Gary Liu - MSFT from the comments, namely: the inclusion of pconnect in database.php , the page load time decreased to 0.23 seconds, that is, an improvement of ~ 8x .
source share