Weird delay in Firefox with Ajax request
-
This one stumped me. For some obscure reason I was get a 1 second delay on all Ajax requests to my local PC. IT was so consistent (1.02s almost everytime) I gathered something was not right. Google failed me, MS Ajax forums failed me. So on a hunch (not really becos DNS always causes delays) I thought it might be DNS related. Entering 127.0.0.1 made Firefox fly! So DNS was causing it, but what? So I headed off to my hosts file, and notice 2 entries for localhost, 1 for IPv4 and 1 for IPv6. Simply uncommenting the entry for IPv6, allowed Firefox not to try resolve the IPv6 address, and it was flying again. I havent investigated why the above reason causes a delay, but I dont really care beyond this point.
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 1 out now -
This one stumped me. For some obscure reason I was get a 1 second delay on all Ajax requests to my local PC. IT was so consistent (1.02s almost everytime) I gathered something was not right. Google failed me, MS Ajax forums failed me. So on a hunch (not really becos DNS always causes delays) I thought it might be DNS related. Entering 127.0.0.1 made Firefox fly! So DNS was causing it, but what? So I headed off to my hosts file, and notice 2 entries for localhost, 1 for IPv4 and 1 for IPv6. Simply uncommenting the entry for IPv6, allowed Firefox not to try resolve the IPv6 address, and it was flying again. I havent investigated why the above reason causes a delay, but I dont really care beyond this point.
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 1 out nowi'm guessing that 1 second is the time it takes to time out its dns request
-
i'm guessing that 1 second is the time it takes to time out its dns request
-
This one stumped me. For some obscure reason I was get a 1 second delay on all Ajax requests to my local PC. IT was so consistent (1.02s almost everytime) I gathered something was not right. Google failed me, MS Ajax forums failed me. So on a hunch (not really becos DNS always causes delays) I thought it might be DNS related. Entering 127.0.0.1 made Firefox fly! So DNS was causing it, but what? So I headed off to my hosts file, and notice 2 entries for localhost, 1 for IPv4 and 1 for IPv6. Simply uncommenting the entry for IPv6, allowed Firefox not to try resolve the IPv6 address, and it was flying again. I havent investigated why the above reason causes a delay, but I dont really care beyond this point.
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 1 out nowMy old router at home was useless at forwarding ipv6 but did it in such a way that the connections didn't time out properly and it caused havok with my networking for a while. if you type about:config into the address bar and filter on network.dns.disableIPv6 you can stop firefox from using IPV6 Russ