Slow Script Loading by FireFox with Cassini

Date Published: 30 December 2008

Slow Script Loading by FireFox with Cassini

Bertrand just posted about a bug I’d encountered before but never tracked down wherein FireFox (and in particular, FireBug) is extremely slow in loading scripts for a local web site running on Cassini (Dev Web Server). It turns out that the issue has to do with an FF bug trying resolve “localhost” using IPv6. Dan Wahlin follows up with the fix, describing how to disable IPv6 in FireFox. Since the issue has to do with name resolution, another workaround is to simply change the URL from using localhost to using

With the bug in place, individual requests typically take over a second. Using or disabling IPv6 in FireFox results in the expected 5-25ms response times for static local resources.

Steve Smith

About Ardalis

Software Architect

Steve is an experienced software architect and trainer, focusing on code quality and Domain-Driven Design with .NET.


Copyright © 2021