JDK-6822203 : Auto-update should not specify -nocache when requesting the map and version XML files
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 6u16
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: x86
  • Submitted: 2009-03-25
  • Updated: 2013-06-04
  • Resolved: 2009-05-27
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.

To download the current JDK release, click here.
JDK 6 JDK 7
6u14 b05Fixed 7Fixed
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.
03-04-2009

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.
03-04-2009