Welcome to WebmasterWorld Guest from 54.145.80.57

Forum Moderators: not2easy

Message Too Old, No Replies

Do browsers download all css images?

Even if they aren't called for on some pages?

     
6:12 am on Nov 26, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 12, 2005
posts:411
votes: 0


I have one css file that all my pages use.

On my index page I have a special div that loads a large image in the background. (about 28k) These background image instructions are in the css file.

On the rest of my pages, I do not have this special div, so the large background image should not load.

However, when I was visiting Website Optimization, I noticed for one of the pages that did not have the special div, the image was shown as having been downloaded.

Does CSS really do this, or is this just a flaw in the Website Optimization site?

5:33 pm on Nov 26, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 23, 2005
posts:742
votes: 0


It should not. Perhaps you saw it in the cache? Clear the cache and see if it's still there.
10:10 pm on Dec 8, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 12, 2005
posts:411
votes: 0


Iím thinking it might have been a bug in the checking site.

I just wasnít positive though.

Thanks

2:08 am on Dec 10, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Nov 19, 2002
posts:372
votes: 0


if it's not your site, it should be some image preloading by javascript. as :hover {background:url(img)) is not preloaded in css