title: android network first request slow but following request much faster
body: <p>I have been working on app in both iphone and android version.
  I used ASP.net web api on IIS to serve my network requests.
  On iphone all network requests are silky smooth and fast, even the server idle for a while, response is still fast.
  On the other hand, the network requests from Android ( I choose Volley library ) behave much differently. If I stay idle on Android client for a while ( only about 30 seconds ), the next request will be much slower. But once I started the first requests, all following requests ( has to make within 30 seconds) are just as fast as iphone counter part.</p>
  
  <p>I captured my requests from Android using tcpdump and opened in Wireshark.</p>
  
  <p>Sorry don't know how to make image bigger, please zoom in on your browser...</p>
  
  <p>fast request: ( follow the first request within 30 seconds )</p>
  
  <p><img src="https://i.imgur.com/xGIS8Pa.png" alt="fast request"></p>
  
  <p>slow request ( idle more than 30 seconds then make the first request ):</p>
  
  <p><img src="https://i.imgur.com/eZftyLS.png" alt="slow request"></p>
  
  <p>Notice slow request sends request before handshake and has a lot of re-transmission.
  Is there a way to make my Volley network request as fast as iphone network request and not slow down after idle for a while? really want to figure out this because the slowness on android could take up to more than 2 seconds and it really a bad user experience. </p>
  
  <p>Please can anyone help or at least give me a direction?</p>