AppletLoader: add further checks to prevent Java default caching

This commit is contained in:
kappa1 2012-04-26 13:19:18 +00:00
parent 15d4e8af94
commit 89a3558e3b
1 changed files with 1 additions and 1 deletions

View File

@ -1460,7 +1460,7 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
urlconnection.setUseCaches(false);
if (urlconnection instanceof HttpURLConnection) {
urlconnection.setRequestProperty("Cache-Control", "no-cache");
urlconnection.setRequestProperty("Cache-Control", "no-store,max-age=0,no-cache");
urlconnection.connect();
}