FormData is way faster than the readAsBInaryString() especially when uploading large files.Actually no need to use the FileReader at all.
According to my test, uploading 6 files(each was about 4MB ) took me about almost 10s to convert the images to BInaryString ! And if use FormData the sending process is happend immediately.
So without using the FormData will cause a huge huge performance loss.Thus check if it is possible to use FormData,if possible should use the FormData preferentially.
FormData is way faster than the readAsBInaryString() especially when uploading large files.Actually no need to use the FileReader at all.
According to my test, uploading 6 files(each was about 4MB ) took me about almost 10s to convert the images to BInaryString ! And if use FormData the sending process is happend immediately.
So without using the FormData will cause a huge huge performance loss.Thus check if it is possible to use FormData,if possible should use the FormData preferentially.