Last week I noticed the response of localhost requests were slow in Google Chrome, but responded very quickly in Safari. I suspected Chrome was submitting my local requests to it's data hunger servers to build an even better profile of me.
I tweaked a lot of Chrome settings so everything would be kept private, but no success. After several attempts I found the problem:
To test multiple sites and testing multi-domain rails applications I've changed my /etc/hosts file to contain the following items.
127.0.0.1 nice-domain.local 127.0.0.1 nice.sub-domain.local 127.0.0.1 gamecreatures.local
So calling: "gamecreatures.local" in Chrome causes a too long delay for showing something..
calling "gamecreatures.local" in Safari responded instantly..
After doing some research, I've learned Apple is doing something special with the .local postfix. It is used by the Bonjour services somehow. I don't know exactly what, but they do...
So changing all the extension from ".local" to something else for example ".loc" solved the issue for me:
127.0.0.1 nice-domain.loc 127.0.0.1 nice.sub-domain.loc 127.0.0.1 gamecreatures.loc
Now Chrome also responds instantly...
Sorry Google for "assuming" you trying to steal all data from me... (Or should I use the _nomap extension for this one too ?!?)
Thank you!
Thanks for that! I went on a wild goose chase profiling my app, and it was .local all along.
Indeed did fix the problem, Thanks