Esp32 web server file download slow

If you are asking a question, please follow this template:

  1. My goal is to speed up read of file and server file o download big file from esp32. my file is 5 Mb. it takes 30 second to download.
  2. I wold like to increase my file buffer to read.
  3. I am expecting to speed up to 5-10 seconds.