Slow localhost with .local in hosts file


I’ve had an issue that didn’t happen before with .dev domains on my local install. Now that they’ve switched to .local my sites would take 5-10 seconds to load and I wasn’t sure why.

I looked into it and this helped me out:

Specifically, the second highest voted solution worked best for me. Now the .local extensions works just as fast as the .dev before.

Not sure if it’s mac specific but I’m on High Sierra.