title: Does Android keeps the images downloaded from HTTP in cache?
body: <p>This is how my programme works:</p>
  
  <p>1) Display a picture from the server</p>
  
  <p>2) User change the picture and upload it to the server</p>
  
  <p>3) Display the picture by re-downloading from the server</p>
  
  <p>This is how I get the picture from the server:</p>
  
  <pre><code>String src = "http://www.getyourpicture.com/mypicture.jpg"
  HttpGet httpRequest = new HttpGet(URI.create(src) );
  HttpClient httpclient = new DefaultHttpClient();
  HttpResponse response = (HttpResponse)httpclient.execute(httpRequest);
  HttpEntity entity = response.getEntity();
  BufferedHttpEntity bufHttpEntity = new BufferedHttpEntity(entity);
  InputStream instream = bufHttpEntity.getContent();
  
  Bitmap dp = BitmapFactory.decodeStream(instream);
  //display dp from here...
  </code></pre>
  
  <p>The problem here is, whenever I "re-download" the image, it still shows the old picture.
  To confirm that I've uploaded the picture, I've checked the folder containing the picture on the server and even visited the link on a browser. Both approaches show that the picture is indeed been uploaded. So I've narrowed down to the possibility that Android might have a http caching manager that is not "refreshing" the image link.</p>
  
  <p>So, if the answer to my question is "yes", how can I force the application to not use the cache? </p>
  
  <p>If the answer is "no", what is the thing that I've overlooked?</p>