The background image in IE6 will re-send the request instead of using the local cache every time it is used. In particular, the hover background image can obviously feel flickering. Some people have solved this problem by using the following methods:
CSS method:
HTML {filter: expression(document.exe ccommand ("backgroundimagecache", false, true ));}
JS method:
Window. isie = navigator. appname. indexof ("Microsoft") = 0;
If (isie ){
Document.doc umentelement. addbehavior ("# default # userdata ");
Document.exe ccommand ("backgroundimagecache", false, true );
}
But in fact, this bug is conditional, that is, the cache of IE is set to every visit to the page, rather than the default automatically. Basically, only developers can set the cache to update each access check, so this bug does not affect real users (according to the test in IE6 of WINXP SP2, although a network access API may still be called, there is no actual request. The symptom is that the mouse shakes for a very short period of time, but the image does not flash.