I've had a blog on Azure for quite a while, and despite optimisation attempts, it's still pretty slow. The initial TTFB seems to be a significant time sink.
It's quite a small blog and relatively low traffic so sits on an Azure s1 instance with auto-scale on for CPU usage. Additionally I migrated the Db away from clear DB instead putting it on a linux vm on azure.
Looking through the logs
I'm getting this error very frequently:
[19-Feb-2015 17:26:51 UTC] PHP Fatal error: Maximum execution time of 300 seconds exceeded in D:\home\site\wwwroot\wp-includes\class-http.php on line 1511
I have created and tested:
- a simple html page
- a simple php page
- a simple php page with a db connection test
None of these experienced delays
How to resolve
Looking at this enterprise grade wordpress on azure article it mentions the removal of ARR however the link is broken and other articles I've found don't dumb it down or relate it to php/ wordpress enough for me to use them.
I've also seen an SO relating to GoDaddy who are my DNS provider can be responsible for slow performance but that seems to apply when they are hosts, not DNS owners.
How does a person reduce this wait time for Wordpress websites on Azure?