Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6551958
Votes 0
Synopsis Java SE 6 doc inaccuracies regarding no-cache and no-store
Category guides:none
Reported Against
Release Fixed 6u4(b07)
State 10-Fix Delivered, bug
Priority: 3-Medium
Related Bugs
Submit Date 01-MAY-2007
Description
Reported by   xxxxx@xxxxx  
In http://java.sun.com/javase/6/docs/technotes/guides/javaws/enhancements6.html
"The <no-cache> directive is now honored. If a downloaded resource
contains the no-cache directive, it will not be put in the cache"

Commented by   xxxxx@xxxxx  
This is not correct. It should be "no-store" instead:
If a downloaded resource contains the no-store directive, it will not be put in the cache.

Reported by   xxxxx@xxxxx  
In http://www.java.com/en/download/help/6000070100.xml
"The no-cache directive is now supported. When the no-cache directive
is used, an update check is made to make sure the cached contents are
same as at the URL. The resource is then downloaded into the cache and
the expiration field is ignored. "

Commented by   xxxxx@xxxxx  
This is almost correct. no-cache means the cached contents cannot be
used without revalidation. So if cached content is available, an update
check will be made to ensure the server copy is the same as the cached
copy. If so, cached copy can be used. If not, server copy will be
downloaded. Expiration field is ignored, which means that even if the
cached resource is not expired, update check will still be performed.
Posted Date : 2007-05-01 02:22:22.0
Work Around
N/A
Evaluation
I am gathering inputs from Thomas right now. I will fix it.
Posted Date : 2007-05-08 08:17:15.0

Fixed this bug in the deployment guides. It will be up on jsc within 24 hours. - Jacob Royal
Posted Date : 2007-11-16 11:39:50.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang