Ticket #2530180 (closed defect)
Reporterbzbugs |
Opened: 04/26/11 Last modified: 05/10/12 Status: closed Type: defect Resolution: fixed |
Owner Allen Rabinovich |
Target Release: 3.5.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Automatically correct for IE caching by appending a cache-busting string to the SWF URL. | ||
| Description: | Steps To Reproduce: 1. Open http://developer.yahoo.com/yui/3/examples/uploader/uploader-withvars_clean.html in IE6 |
||
| Type: | defect | Observed in Version: | 3.3.0 |
| Component: | Uploader | Severity: | S3 (normal) |
| Assigned To: | Allen Rabinovich | Target Release: | 3.5.0 |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | IE 6.x,IE 8.x | ||
| URL: | http://developer.yahoo.com/yui/3/examples/uploader/uploader-withvars_clean.html | ||
| Test Information: | |||
Change History
|
Posted: 04/28/11
|
|
Posted: 05/30/11
|
|
Posted: 06/22/11
|
|
Posted: 02/1/12
|
|
Posted: 02/1/12
|
|
Posted: 02/1/12
Ticket #2529747 was marked as a duplicate of this ticket. |
|
Posted: 03/9/12
|
|
Posted: 03/17/12
|
|
Posted: 05/10/12
checkedin -> closed |
This actually happens with IE 8 too (and can be observed with IE 9 in compatibility mode)
Details and workaround from chat transcript in #yui:
allenrabinovich: It has to do with the fact that IE caches the SWF file
allenrabinovich: And then loads it as if it were loading it from the filesystem
allenrabinovich: As opposed to from the network
allenrabinovich: And the SWF, thinking it was loaded from the filesystem, goes into the filesystem sandbox.
allenrabinovich: Right
allenrabinovich: So if you attach a random string to the SWF URL
allenrabinovich: As a GET var
allenrabinovich: Which would just get ignored
allenrabinovich: That would bust the cache.
allenrabinovich: So like "uploader.swf?" + "q=" + Math.random() type of thing