How do CSS sprites speed up a web site?
问题 I'm trying to understand how CSS sprites improve performance on a site? Why is the downloading of several small images slower than the download of a single image holding the smaller images if the total size of the single image is the sum of the smaller images? 回答1: It's important to understand why the overhead of an HTTP request has such an impact. In its simplest form, an HTTP request consists of opening a socket, sending the request on the open socket and reading the response. To open a