Chrome slow when loading local virtual host

The solution was to move the domain in the /etc/hosts file to the same entry as localhost.

127.0.0.1   localhost domain.com

See this StackOverflow thread.