The Lodge is members-only web design and development videos and live help. Log In or Sign Up.
is there an obvious advantage in using CSS sprites when the combined images are a lot larger than the single image files?
I heard that the aim is to reduce HTTP requests, but is this reason enough to compromise the image loading time?
I’m looking forward hearing your take on this one!
How many images are we talking?
About 10-15 images
The sprite will be cached and no more http requests. 99% of the time sprites are going to ultimately be faster overall
It definitely depends on how big the image is. If it’s turning itself into a 1mb sprite then you’ve gone too far, imo.
Yeah, as @TheDoc said – if it’s a massive image file you need to look at what you’re doing to see if there’s an alternative.
Ok, good to know. Thanks!
You must be logged in to reply to this topic.
Search for Stuff
Browse the Archives
Get the Newsletter
... or get the RSS feed