Share via


Testing datajs with multiple browsers

When contacting the localhost machine, Chrome and Firefox can suffer very serious slowdowns depending on your operating system, adding somewhere around one to two seconds per connection. If you build and run tests for datajs, you are very likely to run into this problem.
 
There is a configuration change that can be done to Firefox to disable IPv6 that solves this issue, and there is a HOSTS file change that can be done to fix both Firefox and Chrome, as described on Wagner's blog (in short: update the c:\windows\system32\drivers\etc\hosts file to include "127.0.0.1 localhost" explicitly).

Enjoy!