Firefox and Chrome slow on localhost; known fix doesn’t work on Windows 7

Turns out if you uncomment the 127.0.0.1 line in the hosts file, Chrome goes back to its snappy self on localhost URLs.

# localhost name resolution is handled within DNS itself.
    127.0.0.1 localhost

The hosts file is typically at C:\WINDOWS\system32\drivers\etc\hosts. To edit it in Win7, you’ll need to run Notepad as administrator.

Leave a Comment