Can anyone comment on the decision to use sprites for images or not? I see the following benefits/trade-offs (some of which can be mitigated):
Sprites over individual images
Pros:
- Fewer images to manage
- Easier to implement themed images
- Image swaps (JS/CSS) happen faster (because they do not require additional image loads)
- Faster image loads due to fewer HTTP requests
- Fewer images to cache (although virtually no difference in overall KB)
Cons:
- More background positions to manage
- Image payload may be over-inflated (sprite may contain unused images), causing page load may be slower
- Slower images loads because they cannot be downloaded synchronously