I have a HTTP file transfer java application.
I have observed that text files (plain/text mime type) of higher size are transferred much faster than other binary files of lower size.
In my client I am using Java script XMLHttpRequest to download the file.
I first keep the file in a blob (browser memory) using response type "blob" and then save it to the file system by using a href.
is there any specific reason of why this is happening. Is it because of the blob saving ?
This might be because of compression (see transfer-encoding/content-encoding "gzip").