homepage Welcome to WebmasterWorld Guest from 54.196.162.238
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
preloaded images being loaded on every page?
esprague




msg:4383220
 8:38 pm on Nov 3, 2011 (gmt 0)

We're in the process of reducing the size of our images site wide. One big part of this is compressing the images in our navigation. A tool we've been using to help us do this is [websiteoptimization.com...] This tool shows us the total size of all of the images on a page.

However, in the details, it is showing images on pages that aren't anywhere on the page, even when doing a view source. After looking into it, these images are preloaded in our css file. It was my understanding that they would only be loaded on pages that are using their div class.

Am I mistaken, or is the tool wrong? Not sure if linking to my site is allowed just for testing purposes, if necessary.

If more information is required, please let me know. Appreciate any replies.

Thanks,
Carl

 

rocknbil




msg:4383551
 4:02 pm on Nov 4, 2011 (gmt 0)

You know I've used that site a lot and never thought about it - but now that you mention it, I think that is incorrect. If you have the FireFox extension Live HTTP Headers, you can check it out.

Open Live HTTP Headers, make sure it's clear, and go to a page with a "common css". Go to a page that you know only uses a portion of the CSS images. Live HTTP headers should show only the CSS based images from that page being requested. I just did this on a site that has a huge amount of CSS images, and only see the ones on the current page being requested.

Of course, I could be wrong, nothing new. :-)

esprague




msg:4384492
 7:03 pm on Nov 7, 2011 (gmt 0)

rocknbil,

I think you might be right. We'll try posting some of the css here for reference.

alt131




msg:4384695
 4:13 am on Nov 8, 2011 (gmt 0)

Hi esprague, and welcome to css.
I'd be keen to hear what you discover: Like rocknbil I use this particular tool all the time - have for years - but never took a closer look.

esprague




msg:4389465
 5:11 pm on Nov 21, 2011 (gmt 0)

I'm pretty sure that this tool is inaccurate and is listing these when they shouldn't be. Other similar tools are not showing these preloaded images on standard pages, such as [webpagetest.org...]

Thanks for the help.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved