It will server the index.html and the app.css, each of which are under 2K but stops when serving the the app.js file which is 27K.
Here's my index.htm that is requesting the files:
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset=utf-8>
- <meta name=viewport content="width=device-width,initial-scale=1">
- <title>1X Verifier</title>
- <link href=/static/css/app.css rel=stylesheet></head>
- <body><div id=app></div>
- <script type=text/javascript src=/static/js/app.js></script>
- <!-- script type=text/javascript src=/static/js/manifest.js></script>
- <script type=text/javascript src=/static/js/vendor.js></script -->
- </body>
- </html>
I have given up on any help on how to write a respond->send function that will handle multiple large file and just been guessing and compiling.
My question is: should I keep tying to figure it out, is the AsyncWebServer capable of handling multiple large files? Can it run in a task, where it is now? If not I will have to go back to my old ESP32WebServer. Is there anyone out there that has done anything like this?