homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

http request vs image size - Loading Time
This is regarding the loading time of my website
lohia anirudh

5+ Year Member

Msg#: 3240579 posted 12:06 pm on Feb 2, 2007 (gmt 0)

I have some heavy images on my website which obviously increases the loading time. Now I want to decrease the loading time. So I have decided that I will break the images into parts as it is helping to decrease the size of the image.

(one image = 14 kb,
two images = 7kb + 5 kb = 12 kb)

Should I do it?
Now there are two http request for two images but it saves 2 kb, will it perform better?


Anirudh Lohia


Matt Probert

WebmasterWorld Senior Member 10+ Year Member

Msg#: 3240579 posted 5:41 pm on Feb 2, 2007 (gmt 0)

Probably. Depends upon the network speed between the server and client, but that's usually the slowest part of the process.



10+ Year Member

Msg#: 3240579 posted 10:22 pm on Feb 4, 2007 (gmt 0)

Now there are two http request for two images but it saves 2 kb

Besides the additional http request, there are other sources for overhead. Even though there is 2k less data, it's possible that the same number of packets will be required and also, now the browser will need to manage twice the number of images. Additionally, a browser can only handle a limited number of simaltanious requests and may need to wait until one request is finished before even requesting the other.

It sounds like the two images will be of lower quality than the original; how else can the two, with the additional overhead of a second image, contain a greater amount of information in less space. If the original image is a .jpg, by slightly increasing the compression rate you might be able to save even more than the 2k. Also, with .jpg, whenever you resave it you loose quality. Theefor, you should always work with as high a quality image as possible and only compress the final product.

If the image is a .png you should check that the single is using the same compression rate. (Since .png compression is lossless, there is no issue of resaving images.)

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved