I have a Wordpress site hosted in a Basic
(small) Azure Web App with ClearDb (Titan). I also have another Web App hosted in this Basic
service plan using Azure SQL DB. I had some latency issues with that, but ultimately using persistent connections they got solved (Azure web app slow server response time).
Given that the other app works great and the Wordpress site also works fine once the page gets loaded I think the issue might be with the database connection. I tried hosting MySql
in a docker image on Azure VM, but the performance did not improve.
Note that when the site is cold the page loads in around 20 seconds. I would be happy if this could be driven down to somewhere around 1-2 seconds.
I tried setting output_buffering = Off;
, but no improvement at all. I also have AlwaysOn enabled.
Any suggestions how could I improve the latency?