-->
Page 1 of 1

Chrome and Firefox much slower to receive pages than IE11

PostPosted: Mon Nov 16, 2015 4:55 am
by RogerClark
Hi,

I've noticed a strange problem when using the FSBrowser example.

Pages load a far faster in IE11 than either Firefox or Chrome (on Windows 7 or Windows 8.1)

iOS devices and Android devices pages also load a lot faster. Safari on OSX is load pages at about the same speed as IE11.

When I say slow, I mean really slow on Firefox. a 10k page is taking over 1 sec to transfer to Chrome.

Looking at the code its using webserver.streamFile, but I don't know if that function is to blame as I've not investigated how long other methods are taking to return data to Chrome.

I've looked at the issue in WireShark and it appears that Chrome has a 200ms delay between receiving one TCP packet and requesting the next packet, where are IE11 only waits 0.06 ms before requesting the next packet.

Which suggests to me that Chrome doesnt like the data its received and is timing out before doing the next request, as the delay is consistently 200ms (as far as I can tell)


BTW. I'm using a copy of the repo I took a few days ago, as I want to use SPIFFS which is not in the stable version.

Any ideas why this may be happening??