khoih-prog / WiFiWebServer

This is simple yet complete WebServer library for AVR, Portenta_H7, Teensy, SAM DUE, SAMD, STM32, RP2040-based, etc. boards running WiFi modules/shields (WiFiNINA, CYW43439, U-Blox W101, W102, etc.). The functions are similar and compatible to ESP8266/ESP32 WebServer libraries to make life much easier to port sketches from ESP8266/ESP32. Now using WiFiMulti_Generic library
MIT License
104 stars 21 forks source link

Sending a large HTML #8

Closed x2y8 closed 3 years ago

x2y8 commented 3 years ago

Hello,

is it possible to send a large HTML response using the library that you have created? If so, could you please provide a code snippet of how to achieve it? Thanks so much for the work you put into this library :)

khoih-prog commented 3 years ago

It's not easy to send a large HTML files. This is the MCU world, with limited resources, many things we can't do easily, or even impossible to do.

You also have first try with the WiFi library you're using to know the limitations (buffer limitation, etc. )

Check these similar issues

  1. Problem with page larger than 2k
  2. EthernetWebServer does not read and send html.h file to web browser

and Google, ask on the forums for guidance.

I'm afraid I can't help anything here.

Good Luck,