Open thorsager opened 4 months ago
Currently the io.Copy function is used, when serving files. I believe this has a hard-corded buffer-size of 32K. I believe that using a larger buffer when serving large files could improve the performance.
io.Copy
Currently the
io.Copy
function is used, when serving files. I believe this has a hard-corded buffer-size of 32K. I believe that using a larger buffer when serving large files could improve the performance.