background-image flicker caching bug in Internet Explorer
Posted by Dennis on Nov 27, 2006 in Uncategorized • 3 commentsI was working on a very frustrating issue that occurs in IE when the caching settings are set to “every visit to the page”. On slower servers, the background images were reloaded on a mouseover. While reloading the images dissappeared. One simple line of JavaScript will solve this issue:
document.execCommand("BackgroundImageCache", false, true);
Read more about this




This doesnt work!
This DOES work in IE8, not so much in IE7.
Internet Explorer 8 is very good because it is as stable as Opera. I hate the previous versions of IE like IE6 because it hangs frequently. `