IE reloads images way too often

Oh yes, that had hit me quite often too. Even though I was only using a background-image in my simple CSS:

a.section {
background-image:url(/img/arrow-right1.gif);
background-repeat:no-repeat;
background-position:center left;
}
a.section.open {
background-image:url(/img/arrow-down1.gif);
}

As you can see, when I add the class “open” to an element, the background image is replaced with another one. IE unfortunately does a server request for this image every time. How dumb!

Here is an extensive article, covering and solving this problem. Unfortunately there is no client side fix, you gotta touch the server.

RSS feed for comments on this post · TrackBack URL

Leave a Comment