JDK-6688800 : Cached files are not rechecked for http response on applet/browser reload
Type:Bug
Component:deploy
Sub-Component:plugin
Affected Version:6
Priority:P2
Status:Closed
Resolution:Not an Issue
OS:windows_2000
CPU:generic
Submitted:2008-04-15
Updated:2010-08-17
Resolved:2008-04-30
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The plugin caching mechanism is not checking resource files for updates upon browser reloads. resource files which are updated on the webserver end are not being conveyed in applet on client end. See comments for testcase.
Comments
EVALUATION
After communication with Thomas - it seems that this is the default behaviour for the JRE 6.0 plugin. We don't recheck cached files for validity during a brower session or relaunch (init()) of an applet. Cu can use the "no-store" http cache-control directive if they wish for the plugin not to cache resource files which update frequently.
Cu is looking for some document updates and clarification around cache handling though. Will handle this as a different matter.
30-04-2008
WORK AROUND
a)clearing the classsloader cache via x key in console panel
b)disabling cache in control panel.
c)disable caching of URLConnection via setDefaultUseCaches(false)