I’m using org.apache.http.client.methods.HttpGet to read a plain text file from the server. The server isn’t sending any kind of “expires” header. I find that repeated calls to HttpGet are returning an out-of-date version of the text file, obviously from some sort of cache.
Is there a way to force the GET to go to the server instead of the cache?
try this