Apache Http Client slower than browser download
问题 I am downloading a large repository from github of size 300M. It takes 10-15sec when I download from my browser. On the same machine, it takes 110-120sec when I use below code to download. I am wondering if I am doing wrong. Please suggest me to get the same speed(10-15sec) using apache http client. Or is there anything better than http client ? Apache httpclient = 4.5 java - 8 Code that I used: import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL;