title: call aspx page to return an image randomly slow
body: <p>OK, here is the question, I have a asp.net website, there is an aspx page called GetThumbnail.aspx, the code is like below:</p>
  
  <pre><code>string newThumbnailPath = ReaderUtilities.GetThumbnailPath(ptiId, highQuality ? ZoomLevel.L : ZoomLevel.S);
  Response.Clear();
  if (File.Exists(newThumbnailPath))
  {
    Response.ContentType = "image/jpg";
    Response.TransmitFile(newThumbnailPath);
  }
  </code></pre>
  
  <p>That is it. the new <strong>newThumbnailPath</strong> is a network share path, usually like D:\ImagesCache\000\0001\000123\000123456\000123456-sml-1.jpg</p>
  
  <p>Then in my website there is a searchResult.aspx, when user type some keyword to search, I will display the searchresult.aspx page, inside the searchResult.aspx, I will display 10 images, the code is below:</p>
  
  <pre><code>&lt;img rel="429746" src="/GetThumbnail.aspx?p=429746" class="cover-img draggable"&gt;
  </code></pre>
  
  <p>OK, the question is, everytime, on production server, there must be several images loading very slow, say 8 images load within averagely 1 second, but 2 images take 7 or 9 seconds to load. All the images are small, and they don't need to resize,  I used firebug Net to check, the slow loading images' DNS lookup, Connecting and Sending are all almost 1ms, and Receiving is 200 or 300ms, but the Waiting takes 8 or 9 seconds.</p>
  
  <p>I thought it is because of IO, but why most of images are quick, just some and randomly, any help. I really appreciate it.</p>