background-image flicker caching bug in Internet Explorer

Posted by Dennis on Nov 27, 2006 in Uncategorized3 comments

I 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



Tags: ,


3 comments

» Comments RSS Feed
  1. This doesnt work!

  2. This DOES work in IE8, not so much in IE7.

  3. 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. `

Leave a comment