MAMP Pro v 2.0.5 OSX Lion v 10.7.4 Chrome v 21.0.1180.82 FireFox v 14.0.1
I am NOT using .local addresses for my sites. It takes almost a minute for pages to load! Basically unusable. I followed a suggestion I found on Stack Overflow to edit the etc/hosts and convert...
127.0.0.1 example1.dev 127.0.0.1 example2.dev 127.0.0.1 example3.dev
127.0.0.1 example1.dev example2.dev example3.dev
This worked initially. But then within a few weeks I was crawling again. I just edited
/etc/hosts again and the pages load quickly again. That's nice, but I still have no idea what's going on and I have no reason to believe it won't slow down again.
Why does editing
/etc/hosts make a difference? What's going on here?
UPDATE: I think I figured out why the problem keeps coming back. Whenever I edit /etc/hosts manually, I have to login as an admin (sudo?) to make changes. For the next couple minutes my pages are super quick. Then I guess my sudo credentials expire and I go back to loading pages at a snails pace.
By the way, why the down votes? At least comment and tell me why.