Problem caching dynamic IE cache?

I have an html page that loads several frames into which dynamic images created on the Tomcat server page (.jsp) are embedded. This works in both Chrome and Firefox, but for some reason IE displays all images the same way (like the first image). I created an example:

http://coupondiscounts.com/jsImageTest.html

jsImageTest.html . This page simply loads 6 instances of the testImageFrame.html page in separate iframes once at a time using Javascript.
testImageFrame.html is a page loaded in all frames. It contains only a JavaScript block that records the current time and the img tag. Img is dynamically created on the .jsp page on another server. It should be a white box on a black background. The field contains the current time (from the Tomcat server using Java) and a randomly generated double from 0 to 1.

What happens (in IE):A page loads four identical frames almost instantly. Depending on the speed of your computer, JavaScript time may vary depending on a second or two. The image time will be the same as the random number. This is true even for the last two iframes that load 5 and 10 seconds after the others (using JavaScript setTimeout ()).
What should happen (both in Chrome and FF): The page loads the same 4 frames, but the random numbers in the images will be different. Times in images sometimes also span a second.

- , ? IE - ? "no-cache", "no-store" . IE6 7. "" iframe. IE .

: , , img, Chrome FF. iframe , .

+5
2

MSIE , . , , "" HTML-, JS-.

.

ifr.src = 'testImageFrame.html?' + new Date().getTime();

MSIE GET- JS.

+1

.

IE ( )

<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the proxy server
%>
0

All Articles