background-image flicker caching bug in Internet Explorer

Posted by Dennis on Nov 27, 2006 in Uncategorized2 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: ,


2 comments

» Comments RSS Feed
  1. This doesnt work!

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

Leave a comment