m6kosa
Last Updated: February 25, 2016
·
1.518K
· chrisdl

Cure MAMP slow vhosts

OS: OS X
MAMP: 2.1.1 (but I know others have the problem as well)
Browser: Chrome

If it takes forever (4-16 seconds) to refresh local webpages which you have setup with a virtualhost you need to do the following:

Add the IPV6 to your vhost address in your /etc/hosts file:

# my local development site
127.0.0.1        localdev.dev
fe80::1%lo0     localdev.dev
::1            localdev.dev

Note: localdev.dev is the name of your vhost site!