diff options
Diffstat (limited to 'java/src/com/tightvnc/rfbplayer')
-rw-r--r-- | java/src/com/tightvnc/rfbplayer/RfbProto.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/src/com/tightvnc/rfbplayer/RfbProto.java b/java/src/com/tightvnc/rfbplayer/RfbProto.java index 09259752..14186b6a 100644 --- a/java/src/com/tightvnc/rfbplayer/RfbProto.java +++ b/java/src/com/tightvnc/rfbplayer/RfbProto.java @@ -95,10 +95,9 @@ class RfbProto { if (fbs != null) fbs.close(); - // open the connection, making sure that it does not use - // a cached version of the archive + // open the connection, and use caching URLConnection connection = url.openConnection(); - connection.setUseCaches(false); + connection.setUseCaches(true); fbs = new FbsInputStream(connection.getInputStream()); is = new DataInputStream(fbs); |