ESPAsyncWebserver - Send chunked response from PROGMEM with template processor

October 27, 2024 @ 01:56

In case someone needs it, I had to search and dig around for quite a while to come up with this solution.

ESPAsyncWebserver is pretty good documented in my opinion. The documentation of the fork from github user mathieucarbou I use for my CanGrow project gets even more into detail.

I had a problem with corrupted responses when the webserver had to send a very big html file processed with some templates in it. So I thought it might help to use chunked responses.

Update: I think I understood the problem and what chunking is and does not correct. So my problem with corrupted pages when using the template processor persists even when using chunked response.

[Read more...]