United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6822203 Auto-update should not specify -nocache when requesting the map and version XML files
JDK-6822203 : Auto-update should not specify -nocache when requesting the map and version XML files

Details
Type:
Bug
Submit Date:
2009-03-25
Status:
Resolved
Updated Date:
2010-09-26
Project Name:
JDK
Resolved Date:
2009-05-27
Component:
install
OS:
windows
Sub-Component:
install
CPU:
x86
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u16
Fixed Versions:
6u14 (b05)

Related Reports
Backport:

Sub Tasks

Description
Auto-update includes the -nocache flag as part of it's HTTP GET request of both map.xml and version.xml files.  This is an unnecessary flag, because of the fix for 6478142 & 6656032.  

It is believed the original thought behind the -nocache was to ensure the client was always getting the latest XML files, however the cache time can be specified on the server side.  Allowing a cache would prevent subsequent calls to the Sun server for XML files that were already downloaded earlier in the same update check. (we currently download map.xml twice, and version.xml 2-3 times)

                                    

Comments
SUGGESTED FIX

Remove INTERNET_FLAG_DONT_CACHE flag from XML file downloads and specify a 3.5 hour cache time for the XML files on the server side.
                                     
2009-04-03
EVALUATION

The INTERNET_FLAG_DONT_CACHE flag is being passed with the HTTP request to get the auto-update XML files.  This is unnecessary as long as a proper cache time is specified on the server side.
                                     
2009-04-03



Hardware and Software, Engineered to Work Together