homepage Welcome to WebmasterWorld Guest from 54.166.53.169
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
preloaded images being loaded on every page?
esprague

5+ Year Member



 
Msg#: 4383218 posted 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

WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4383218 posted 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

5+ Year Member



 
Msg#: 4383218 posted 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

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 4383218 posted 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

5+ Year Member



 
Msg#: 4383218 posted 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