Share via


IE re-downloading background images

Quick post - at the Ajax Experience conference, someone mentioned to me that IE was downloading background images multiple times if they were referenced in the stylesheets multiple times.  I checked with the team, and they confirmed that they did address this problem in IE7, and it should be fixed (they tried reproducing it multiple different ways to be sure).  Unfortunately, I forgot to get the name of the person who mentioned this to me - so if you're out there, this is fixed, and thanks for the feedback.

 -C

Comments

  • Anonymous
    November 08, 2006
    We love CSS fixes and improved CSS support!  Thanks!

  • Anonymous
    November 10, 2006
    Just FYI, I think that has usually been called the Flicker bug. http://dean.edwards.name/my/flicker.html

  • Anonymous
    December 05, 2006
    Again, not sure who exactly informed you of this, but I first heard about this on Mishoo here: http://www.bazon.net/mishoo/articles.epl?art_id=958 from November, 2004. The uhm... tone of the article tends to vent some of the frustration of developers on this one.  On the performance angle, it just doesn't make sense to not pull it out of the cache, but on the "conspiracy theory" angle, it does provoke questions of "why" it was done this way in the first place. Cheers, steve

  • Anonymous
    January 26, 2007
    There's a javascript workaround for this and it works in IE6 since SP1: try { //works since IE6SP1 doument.execCommand("BackgroundImageCache", false, true) } catch(acold) {/many will complain, just ignore/} Check my blog for more details: http://misterpixel.blogspot.com/ I wonder: are there not wanted (not known) side effects of this command? Regards, Mr.Pixel

  • Anonymous
    March 30, 2007
    Dan Popa: Your Script works great except the typo, "document" was typed as "doument" on Line3. Should like below and works well.


try { //works since IE6SP1 document.execCommand("BackgroundImageCache", false, true) } catch(acold) {/many will complain, just ignore/} Rama.

  • Anonymous
    September 26, 2007
    Thank for this code, i help me to re-downloading bacground image from IE, but i don't if it work under Firefox.

  • Anonymous
    October 06, 2007
    Your Script works great except the typo, "document" was typed as "doument" on Line3. Should like below and works well.

  • Anonymous
    January 20, 2008
    Again, not sure who exactly informed you of this, but I first heard about this on Mishoo here: http://www.bazon.net/mishoo/articles.epl?art_id=958 from November, 2004. The uhm... tone of the article tends to vent some of the frustration of developers on this one.  On the performance angle, it just doesn't make sense to not pull it out of the cache, but on the "conspiracy theory" angle, it does provoke questions of "why" it was done this way in the first place.

  • Anonymous
    January 20, 2008
    The uhm... tone of the article tends to vent some of the frustration of developers on this one.  On the performance angle, it just doesn't make sense to not pull it out of the cache, but on the "conspiracy theory" angle, it does provoke questions of "why" it was done this way in the first place.

  • Anonymous
    January 20, 2008
    Just FYI, I think that has usually been called the Flicker bug. http://dean.edwards.name/my/flicker.html

  • Anonymous
    January 20, 2008
    htThere's a javascript workaround for this and it works in IE6 since SP1: try { //works since IE6SP1 doument.execCommand("BackgroundImageCache", false, true) } catch(acold) {/many will complain, just ignore/} Check my blog for more details: http://misterpixel.blogspot.com/ I wonder: are there not wanted (not known) side effects of this command? Regards, Mr.Pixel

  • Anonymous
    January 31, 2008
    There's a javascript workaround for this and it works in IE6 since SP1: try { //works since IE6SP1 doument.execCommand("BackgroundImageCache", false, true) } catch(acold) {/many will complain, just ignore/} Check my blog for more details:

  • Anonymous
    February 03, 2008
    The uhm... tone of the article tends to vent some of the frustration of developers on this one.  On the performance angle, it just doesn't make sense to not pull it out of the cache, but on the "conspiracy theory" angle, it does provoke questions of "why" it was done this way in the first place.

  • Anonymous
    February 29, 2008
    Thank for this code,but i help me to re-downloading bacground image from IE, but i don't if it work under Firefox.

  • Anonymous
    January 01, 2009
    Your Script works great except the typo, "document" was typed as "doument" on Line3.

  • Anonymous
    April 23, 2009
    Thank for this code, i help me to re-downloading bacground image from IE, but i don't if it work under Firefox.

  • Anonymous
    April 23, 2009
    Just FYI, I think that has usually been called the Flicker bug.

  • Anonymous
    May 16, 2009
    Dan Popa: Your Script works great except the typo, "document" was typed as "doument" on Line3. Should like below and works well.


try { //works since IE6SP1 document.execCommand("BackgroundImageCache", false, true) } catch(acold) {/many will complain, just ignore/} Rama.

  • Anonymous
    July 07, 2009
    Thank for this code, i help me to re-downloading bacground image from IE, but i don't if it work under Firefox

  • Anonymous
    November 02, 2010
    To say i have stopped using IE , i just rely on Google chrome for translation and search and Mozilla browser to open bank and e-commerce web sites.. <a href="www.samplecvs.org/.../architect-cv-2.html">Architect CV</a>