Handling Large Blobs medium
Why combine 50 small icons into 1 big image (Sprite Sheet)?
- A To reduce HTTP Request overhead. 1 request for 50kb is much faster than 50 requests for 1kb each (TCP handshakes, Header overhead).
- B It looks better.
- C To compress better.
- D To organize files.
Answer: A. To reduce HTTP Request overhead. 1 request for 50kb is much faster than 50 requests for 1kb each (TCP handshakes, Header overhead).
Less critical in HTTP/2 (multiplexing), but still useful for reducing browser layout thrashing.
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- Why do modern sites serve images in WebP or AVIF format?
- What does the acronym BLOB stand for?
- Why do we sometimes convert binary images to Base64 strings?
- What is an 'Origin Shield' or 'Mid-Tier Cache' in a CDN architecture?
- For a feed with 100 images, why use 'Lazy Loading'?
- How does HLS/DASH handle a user moving from WiFi to 4G (Variable Bandwidth)?