I started using image sprites around 2 years ago because I saw sites such as Apple and Facebook using them on their sites.
It goes without question that loading a page is faster if you download one 60kb image, instead of three 20kb images, however, I have recently been informed that sprites, albeit faster at loading, are in fact a lot more memory consuming on the client side.
In my eyes:
- Sprites are faster at loading and use less bandwidth
- From a developers point of view, they are easier to maintain because all of your graphics are in one place
However, in my colleagues eyes:
- Each time the sprite is referenced on the page, the image is created in memory, which in turn slows down the clients browser
- The difference in speed of loading is not sufficient enough to justify the increased memory usage of the browser
- The internet is designed to transmit in small packets, therefore loading smaller images is better then loading larger ones
This leads me to ask the question, are sprites are actually worth using or is my colleague barking up the wrong tree?