In uk.net.web.authoring on 17 Apr 2004 04:49:44 GMT, Eric Bohlman
}so a page that's got 100 images (spacers, sliced images, images
}of text, etc.) is going to be slow to load regardless of how fast a
}connection the user has.
Total rubbish; the speed of loading of any site is almost directly
proportional to the available bandwidth, up to the point where there is
some other limiting factor.
Eric is right that breaking the page content into a large number of
pieces slows things down.
There are at least two factors involved. Firstly, there is an overhead
of headers in the download direction for each piece, so the total data
that has to be downloaded to retrieve the same effective content is
larger. Three is also more to be uploaded in the multiple requests, but
that may happen in parallel with things being downloaded, so not make a
significant difference.
Secondly, even if you are using HTTP 1.1 and keeping the TCP connection
open, there is an extra round trip of request and response for each
piece that is serialised after one of the others in the download. If you
were to open 100 new connections to retrieve the 100 images, you would
gain some parallelism, but that is generally considered to be an evil
thing to do. If you are not keeping the TCP connection open, but using
the older approach of closing the connection after each request, the TCP
three way connection handshake and slow start mechanism will add a lot
more delay if you limit yourself to a moderate number of connections.
If you have a very high bandwidth connection to the server, the
additional overhead associated with sliced images is very obvious. I
have observed this with a page that contained an image sliced into 45
pieces on one page, and loaded as a single image on another page, both
being retrieved over a 100Mb LAN. The difference was so great that the
page was redesigned to use the single image rather than the slices.
Bandwidth may be the most common limiting factor for WAN connections,
and for the sites that are created in practice, but it is not hard to
make the other factors dominate under some conditions.