JDK-4806282 : cache_option="No" does not work
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2003-01-22
  • Updated: 2005-05-24
  • Resolved: 2005-05-24
Description

Name: gm110360			Date: 01/22/2003


FULL PRODUCT VERSION :
java version "1.4.0_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)

FULL OPERATING SYSTEM VERSION :
Microsoft Windows 2000 [Version 5.00.2195]

A DESCRIPTION OF THE PROBLEM :
According to documentation:
The cache_option attribute can take one of three values:
No
Disable applet installation. Always download the file from
the web server without using browser or plug-in cache.
Browser
Run applets from the browser cache (default).
Plugin
Run applets from the new Java Plug-in cache.

It seems that cache_option "No" does not work as expected,
i.e. caching is controled ONLY by the Java Plug-In Control
Panel ("Enable Caching" Option under TAB "Cache"). We can
not however ask all INTERNET/INTRANET users to set the
option explicitly, so we NEED a way to force JAR download
always (independent from Java Plug-In Control Panel
settings).

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
In HTML that calls the applet specify:
<OBJECT ....>
	 ....
	 <PARAM NAME="cache_option" VALUE="No">
	 <PARAM NAME="cache_archive" VALUE="xyz.jar">
</OBJECT>

If Enable Caching enabled in the Java Control Panel, the
jar is cached / it seems that cache_option is ignored
altogether!



EXPECTED VERSUS ACTUAL BEHAVIOR :
Should not cache the applet (JAR) when cache_option set
to "No"

REPRODUCIBILITY :
This bug can be reproduced always.
(Review ID: 179790) 
======================================================================

Comments
EVALUATION Looks like this HTML option is not being used by Java Plug-in ###@###.### 2003-01-22 User should be able to disable the cache using Java Control Panel. We will not be providing an HTML option to enable or disable the cache ###@###.### 2003-06-24 This is related to the unified download engine work. Reassign to Thomas. ###@###.### 2004-11-10 01:23:54 GMT cache_option support is removed since 1.4.2 closing the bug as will not fix. ###@###.### 2005-05-24 16:49:43 GMT
10-11-2004