Community
Participate
Working Groups
1. Install eclipse-orion-I20120108-2230 2. Open Chrome browser, login, open navigation page 3. Exit Orion 4. Install eclipse-orion-I20120124-2230 5. Reload the navigation page The UI does not load. Control-Shift-R does not help. localStorage.clear() does not help. Your only hope is a) go home and try tomorrow or b) Clear your entire browser cache. I hunted down our Chrome cache expert. The problem has two parts. One is that Control+Shift+R does *not* force reload XHRs and two that XHRs are not revalidated. Bug 30862 - Dynamically inserted subresources aren't revalidated even when the containing document is reloaded https://bugs.webkit.org/show_bug.cgi?id=30862 The only workarounds today seem to be : 1) cache busting URLs: post pend a version number URLs so they mismatch when the version changes. 2) make the cache time magically correct so we flush based on time. Another soln is to use 'appcache' manifest to specify the cache explicitly. Then change the manifest in the new version.
We are supposed to have Cache-Control: no-cache headers on all dynamic content coming back from the server. It is possible we have missed some cases so we'll need to narrow down which XHR resources are being cached.
BTW, no-cache means "cache but revalidate before use". As I understand the webkit bug, the late XHRs are not revalidated. But I could be wrong. See also http://html5boilerplate.com/docs/Version-Control-with-Cachebusting/ http://requirejs.org/docs/api.html 'urlArgs' http://bugs.dojotoolkit.org/ticket/13099
(In reply to comment #2) > BTW, no-cache means "cache but revalidate before use". As I understand the > webkit bug, the late XHRs are not revalidated. But I could be wrong. I modified the test case on webkit bug 30862 to verify that files served with Cache-control: no-cache do *not* exhibit 30862.
Gosia did a change to make JSON responses no store -- leaving this in RC2 to verify.
Tested. Closing as works for me but I'm sure we will need to continue watching and understanding how the browsers cache.