title: ASP.NET MVC- Slow download from my website
body: <p>My website has download functionality. When I download any file from it, the browser shows speed around 250 KBPS. whereas if I download from some other website and look at the speed, it is around 900 to 1200 KBPS. I have tested my application in multiple servers and it gives relatively less downloading speed.</p>
  
  <p>Following is the sample code that I use for downloading to client.</p>
  
  <pre><code>public FileResult Download()
  {
      //Code to form the file path.
      return File(filePath, System.Net.Mime.MediaTypeNames.Application.Octet, fileName);
  }
  </code></pre>
  
  <p>I have also tried sending the file as chunks in my response and the speed is still the same.</p>
  
  <p>What is the reason for such a difference in downloading speed? Is there anything that I can check in my Web.config or IIS settings?</p>