The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › CSS Sprites even when file is much larger?
Hey guys,
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!
Cheers, Jakob
How many images are we talking?
About 10-15 images
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!