AppletLoader: add extra urlconnections.setUseCaches(false) as an extra precaution to make sure caching is disabled.

This commit is contained in:
kappa1 2012-04-22 22:21:41 +00:00
parent 2eea9d90b3
commit f965ff8f83
1 changed files with 1 additions and 0 deletions

View File

@ -1454,6 +1454,7 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
debug_sleep(2000);
urlconnection = urlList[i].openConnection();
urlconnection.setUseCaches(false);
if (urlconnection instanceof HttpURLConnection) {
urlconnection.setRequestProperty("Cache-Control", "no-cache");