Fixing Firefox Slowness with localhost on Vista (or XP with IPv6)

I've been doing a lot of cross-browser testing lately for AJAX applications and Firefox has been killing me since it takes several seconds to load a single page when using localhost URLs on Windows Vista.  Internet Explorer 7 and Safari have been blazing fast with the same pages so I finally took the time to research the issue with Firefox and came across the following information: 

http://kb.mozillazine.org/Network.dns.disableIPv6

It turns out that the slowness is caused by an IPv6 issue with DNS and can easily be resolved by turning IPv6 support off in Firefox while doing localhost testing.  To make the change, type about:config in the address bar, locate the network.dns.disableIPv6 setting and double-click on it to set it to true.  This does the trick for the Firefox localhost issue on Vista and everything is running fast again.

Published Sunday, June 17, 2007 11:11 AM by dwahlin
Filed under: ,

Comments

# re: Fixing Firefox Slowness with localhost on Vista

Monday, June 18, 2007 10:02 AM by Raj Kaimal

This issue also exists on Windows XP machines with IPV6 installed.

# re: Fixing Firefox Slowness with localhost on Vista (or XP with IPv6)

Friday, June 22, 2007 5:32 PM by Michael Schwarz

You can get rid of this problem if you are using the computer name instead of localhost like http://michael-pc/...

Michael

# re: Fixing Firefox Slowness with localhost on Vista (or XP with IPv6)

Monday, June 25, 2007 7:32 AM by RichardPrice

This post is really useful and has helped me a lot.

# Fixing Firefox’s slowness when testing against localhost — ALM Guide - Esteban Garcia

Pingback from  Fixing Firefox’s slowness when testing against localhost — ALM Guide - Esteban Garcia