P
peter
Scenario:
An internet explorer window contains the following code:
<script...>
window.open(...);
</script>
Note "..." denote additional code not relevant to this question.
In addition to the above code, the html page contains images.
Execution of the code opens a "popup" window. When the popup opens,
the browser's cache of the images in the "parent" or "opener" is lost.
The behavior is exhibited when you close the popup window and perform
an action on the opener that would normally cause an image to be
displayed - for example browsing away from the page and then
returning. Images that were previously in the browser's cache are now
requested again from the server.
To explain in a different way. You browse to the page - the images are
loaded into the browsers cache. When you browse away from the page and
then back again, the images are drawn from the browser cache - not
requested from the server. Opening a popup clears the images from the
cache. So, browsing away from the page and back again causes the
images to be reloaded from the server.
The only remedy that I am aware of is changing a setting in the
browser:
Tools->Internet Options->Settings
and changing the "check for newer versions" setting to "Never". This
is unsatisfactory as I cannot ask visitors to my website to do this.
I require a method to prevent this behavior in internet explorer -
however it must be a method that does not require the user to change
settings on their computer or browser.
An internet explorer window contains the following code:
<script...>
window.open(...);
</script>
Note "..." denote additional code not relevant to this question.
In addition to the above code, the html page contains images.
Execution of the code opens a "popup" window. When the popup opens,
the browser's cache of the images in the "parent" or "opener" is lost.
The behavior is exhibited when you close the popup window and perform
an action on the opener that would normally cause an image to be
displayed - for example browsing away from the page and then
returning. Images that were previously in the browser's cache are now
requested again from the server.
To explain in a different way. You browse to the page - the images are
loaded into the browsers cache. When you browse away from the page and
then back again, the images are drawn from the browser cache - not
requested from the server. Opening a popup clears the images from the
cache. So, browsing away from the page and back again causes the
images to be reloaded from the server.
The only remedy that I am aware of is changing a setting in the
browser:
Tools->Internet Options->Settings
and changing the "check for newer versions" setting to "Never". This
is unsatisfactory as I cannot ask visitors to my website to do this.
I require a method to prevent this behavior in internet explorer -
however it must be a method that does not require the user to change
settings on their computer or browser.