Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Javascript (http://www.velocityreviews.com/forums/f68-javascript.html)
-   -   image related thing in website (http://www.velocityreviews.com/forums/t922553-image-related-thing-in-website.html)

Navu 01-23-2006 01:48 PM

image related thing in website
 
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


Thomas 'PointedEars' Lahn 01-23-2006 07:08 PM

Re: image related thing in website
 
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

Thomas 'PointedEars' Lahn 01-23-2006 07:23 PM

Re: image related thing in website
 
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


All times are GMT. The time now is 03:09 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57