I use several local installations of WordPress for development and testing purposes. One thing which annoys me is that it when I’m connected to the internet, it takes a second or two for the page to refresh.
This happens even when the WordPress installation is locally hosted! So what’s going on there? WordPress must be sending out some external request to the web here. Because things load super fast if I disconnect from the internet.
As a fix, I now use the following piece of code in my wp-config.php file:
That has helped to speed things up for me! 🙂