By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,661 Members | 779 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,661 IT Pros & Developers. It's quick & easy.

image related thing in website

P: n/a
hi all

i m using a lot of small images in my website.
Right now they take a lot of time to get downloaded all the images
becoz of HTTP request for all the seperate images.
Pls suggest me some way by using which all the images can be merged in
to one file and then all get downloaded at the client site in one HTTP
request.
Thanx

Jan 23 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Navu wrote:
Pls suggest me some way by using which all the images can be
merged in to one file and then all get downloaded at the client
site in one HTTP request.


You can use multipart HTTP responses or any compact/compression
algorithm to serve the data of all images in one request, and you
can use the corresponding extract/decompression algorithm to
decompress the response body. However, there is no interoperable
means to display the extracted/decompressed data; `data:' URIs do
not work everywhere, and otherwise required host objects are not
always available.

You can only speed up the process reliably if your server allows
for (more) parallel connections from a client; preloading in
different ways is possible, but not reliable.
PointedEars
Jan 23 '06 #2

P: n/a
Thomas 'PointedEars' Lahn wrote:
You can only speed up the process reliably if your server allows
for (more) parallel connections from a client; preloading in
different ways is possible, but not reliable.


Where it should be added that you can serve _one_ resource in _one_
request gzip-compressed if the client supports that (watch for the
"Accept-Encoding: gzip" header) which also further speeds up the
download process. See also <URL:http://www.mnot.net/cache_docs/>
which refers to the cgi_buffer library.

PointedEars
Jan 23 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.