I noticed that Local runs really slow on my new XPS PC. If I change the DB_HOST from “localhost” to “127.0.0.1” in the wp-config.php file, I get around a 50% speed boost on my local sites. It’s blazing fast.
My only problem is when I pull from a live site on flywheel, it resets the DB_HOST back to “localhost” in wp-config.php.
Is there a way to keep it as “127.0.0.1” on local sites without having to go in and manually change it every time you make a pull from a live site?