问题
I'm developing websites in a Windows 7 machine.
When I've installed Firefox I've found some performance issue specially on connecting to the localhost, googling around I've discovered that it's related to the use of IPv6 by the browser to resolve urls.
Using about: config
and setting network.dns.disableIPv6
to true the problem is gone.
Now I've the same issue with Google Chrome, but I can't find a way (if there's a way) to do the same I've done with Firefox.
Any suggestions?
回答1:
The way around this is described in this answer by Robert Massa (eternal gratitude for that, I was ready to revert to IE for local development)
For good measure: do not also uncomment the line
# ::1 localhost
I tried that out of curiosity and it made the issue return.
来源:https://stackoverflow.com/questions/3459002/is-there-a-way-to-disable-ipv6-in-googles-chrome