Sun Plugin Applet URLConnection doesn't use IE browser cache
Posted on 2003-11-30
I have a legacy applet that works fine under the old MS and Netscape jvms. However, when I try to run it under the Sun plugin jvm (1.4.2_01), I see that the URLConnection doesn't use the browser cache. It just reads the data directly into the applet bypassing checking to see if the file was already in IE's /Temporary Internet Files/Content.IE5. Even after the read of the file, it's still not in the browser's cache.
I've confirmed this by monitoring the data coming over the wire with ethereal and monitor what files are being written/read from my computer using filemon.
I do have
and even tried
Doesn't help and as I said, this code has been working fine for the past 4 years in the old netscape 4 and IE w/ MS JVM environments.
Is there some other class that I should now be using with the Sun plugin to take advantage of the browser cache?