WordPress page load times chronically slow in Azure.
Service config summary
App Service: WordPress
PHP Version: 7.0
MySQL: ClearDB (Titan)
Add the following lines to your web.config:
- The path to php-cgi.exe will vary depending on your php version and your platform. I determined mine (just to be sure of the path) by connecting to the ftp site and going to /LogFiles/W3SVC<YourSiteID>/ and finding a failed request tracing xml, e.g. fr#####.xml and searching for php related items that appeared. From that I could see references to the path.
- You can get the FTP connection details from the overview for the app service. Click on “Get publishing profile” and in the file will be the details you need to connect using your FTP client of choice.
Did it speed up? Yes… but not enough. Part 2 deals with migrating away from ClearDB which is generally considered to have suboptimal.
Senior consultant and company director at The Full Circle. Passionate about automation scripting, end user experience and cloud technology.