Welcome to WebmasterWorld Guest from 54.166.227.36

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)

5+ Year Member



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)

WebmasterWorld Senior Member 10+ Year Member



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)

5+ Year Member



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)

10+ Year Member



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

Featured Threads

Hot Threads This Week

Hot Threads This Month