mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-30 18:14:55 +02:00
AppletLoader: add further checks to prevent Java default caching
This commit is contained in:
parent
15d4e8af94
commit
89a3558e3b
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue