Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By Sn4k3r
#54769 I have ESP8266-12E under Arduino IDE 2.3.0. Is it normal that WiFi speed is too low? I use SPIFFS for my files. I want to use jQuery which size is about 80Kb, gzipped is about 30 Kb. Also there are other files (about 5 images, 4 js, 1 css, 2 json - 30Kb if not gzipped). It takes about 10-15 seconds to display page. Is it normal? I thought that WiFi should be faster! How can I optimize my project? I know only 1 solution-cache, but i don't want use it. AsyncWebServer project doesn't work, I don't know why. Help me as you can.
User avatar
By rudy
#54788 I don't have a lot of experience with this but what I have found is that when the server gets hit with too many requests then it chokes and more time is wasted before the client requests the file again.

One technique to try and deal with this is to write the html/js code so that it does not request new items until the previous ones have been completed.

Recently there has been a thread about http transfer speed. viewtopic.php?f=32&t=11289&start=16
I didn't look into it (but hoped to) but I believe there was something in the posts that indicated that a change was made to speed up the transfers but that it was in the git version.

My understanding of all this is limited so don't consider this the voice of God.
User avatar
By rudy
#54876
It seems something wrong on me PC (cause on IPad it works very fast!). I use Win 7, i tried Chrome and Firefox browsers. Any ideas?


Everything I wrote above applies. Have you used the developer tools in the browsers to see what the problems are? Look at the Network tab.
User avatar
By Sn4k3r
#54877
rudy wrote:Have you used the developer tools in the browsers to see what the problems are? Look at the Network tab.


Yes, of course, but I don't understand what is going on. This is a screen shot after I've entered URL http://shot.qip.ru/00QUtl-6SNS8HX0g/ (I try download only 1 file - jQuery library - 80Kb). And this is a screen shot when I stopped browser after it works about 53 second http://shot.qip.ru/00QUtl-5SNS8HX0i/ .
As you can see, browser downloads 2.6 Kb for about 261ms and then it tries download, but can't.

It works on Windows 7, Arduino IDE 1.6.8, Arduino IED core for ESP 8266 from github, chip ESP8266-12E. Scetch - FSBrowser. I attached .js file

If I use Safari on Ipad, file downloads about 1 sec or less I think (didn't measure)
You do not have the required permissions to view the files attached to this post.