title: Azure Website slow to serve static JS/CSS but not binary
body: <p>I have an Azure Website/Web App that is incredibly slow to serve static JS and CSS files but seems perfectly fine serving binary.</p>
  
  <p>To test the problem I uploaded two 30MB files, one <strong>big.js</strong> and the other <strong>big.rar</strong>. The JS file downloads at around 100KB/s if I'm lucky. The RAR file downloads at around 4,000KB/s. The results are extremely consistent.</p>
  
  <p>I've checked in Fiddler and gzip compression is occurring in both cases. As expected, the JS file is being sent with the MIME type <strong>application/x-javascript</strong> whereas the RAR file is being served as <strong>application/octet-stream</strong>.</p>
  
  <p>I am struggling to understand this - why would IIS serve one type of static content so much slower than another?</p>