Slow webserver after upgrade from ESP8266 to ESP32
Posted: Wed Nov 17, 2021 4:31 pm
Hi.
I use ESP8266 (4MB) with SPIFFS webserwer and simpleftp.
I works great.
Now, I would like to use my code with ESP32 (4MB) - because od bluetooth, IOs, etc.
I changed my code, it woks, but I am confused because of speed of it !
I have to wait 4-5 seconds for page refresh.
I am sending HTML files from SPIFFS and I don't know what is to slow - flash file system or wifi ?
I think it is a flash problem because if i have page declareg with PROGMEM - it works fast (normal).
I lost all my day for testing and I don't know what to do.
Stay with ESP8266 and cry or... or believe it is my fault, SPIFFS library problem (LittleFS doesn't work with ESP32 so I use SPIFFS) and try another solutions (declare all my html pages as PROGMEM - but it is awfull when page is big).
I believe someone had the same problem and can help.
Regards,
Mariusz
I use ESP8266 (4MB) with SPIFFS webserwer and simpleftp.
I works great.
Now, I would like to use my code with ESP32 (4MB) - because od bluetooth, IOs, etc.
I changed my code, it woks, but I am confused because of speed of it !
I have to wait 4-5 seconds for page refresh.
I am sending HTML files from SPIFFS and I don't know what is to slow - flash file system or wifi ?
I think it is a flash problem because if i have page declareg with PROGMEM - it works fast (normal).
I lost all my day for testing and I don't know what to do.
Stay with ESP8266 and cry or... or believe it is my fault, SPIFFS library problem (LittleFS doesn't work with ESP32 so I use SPIFFS) and try another solutions (declare all my html pages as PROGMEM - but it is awfull when page is big).
I believe someone had the same problem and can help.
Regards,
Mariusz