Current time: 11-24-2020, 06:23 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IE8 == Worse Performance?
06-29-2010, 10:11 PM
Post: #15
RE: IE8 == Worse Performance?
There is actually another advantage to these techniques and it's bandwidth utilization. During the time a browser downloads multiple images, you have to take into account "dead" times when the connection is taken but nothing is downloaded yet (during the time it takes to connect to the server and the time it takes the server to send the first byte). Also, it takes the browser time to parse the HTML (and it is delayed even longer by blocking objects such as script tags. If you look at the waterflow chart of a typical webpage, you'll see many "holes" when the bandwidth is not utilized well.

Combining the images to one big container, solves this problem because while this container is being downloaded, the bandwidth is utilized well.


Also, you talk about time to first byte as if it is neglectable.
If you take a typical media rich web page, it has about 100 images (remember that all the background images are images too and every round corner is an image). Assuming you don't use a CDN (and even then, depends on how distributed the CDN is), you can get network latency of about 100ms when accessing US based sites from other locations in the US. For international locations, it's even worse. Also, the server needs time to process every request. This is relevant even for static images, as the server has a queue of request and the busier it is, the more time every request spends in the queue. Thus - you can easily add 20-50 ms of additional delay for every resource.

Now, if we do the math: 100 [images] * 100 [ms] + 100 [images] * 50 [ms] = 15 sec.

Now, of course some of it happens in parallel because the browser maintains several simultaneous connections, (and we can also talk about primed cache and less content-rich sites) but you can see that the sum of the penalties that you pay by not combining images is measured in seconds and this is a substantial penalty to pay.

Leonid Fainberg
CTO & Co-Founder
AcceloWeb

(06-29-2010 08:10 PM)green-watch.org Wrote:  I would love to see some examples of the MHTML and data:uri concepts.

From my understanding, both of these actually embed images within the main document.

If that is correct, the download time each image is added to the main document.

So basically the difference would be the DNS lookup and / or time to first byte would not exist for the images since they are embedded.

While the main document downloads, it is possible to have the images downloading as well and in parallel.

I am not seeing how the MHTML or data:uri concepts would make the page faster except if the time to first byte or dns lookup time for the images is huge.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
IE8 == Worse Performance? - jarrod1937 - 06-26-2010, 05:00 AM
RE: IE8 == Worse Performance? - pmeenan - 06-26-2010, 12:55 PM
RE: IE8 == Worse Performance? - jarrod1937 - 06-26-2010, 11:45 PM
RE: IE8 == Worse Performance? - pmeenan - 06-27-2010, 02:15 AM
RE: IE8 == Worse Performance? - jarrod1937 - 06-27-2010, 05:17 PM
RE: IE8 == Worse Performance? - pmeenan - 06-27-2010, 06:19 AM
RE: IE8 == Worse Performance? - pmeenan - 06-27-2010, 10:32 AM
RE: IE8 == Worse Performance? - pmeenan - 06-27-2010, 11:14 PM
RE: IE8 == Worse Performance? - leonid - 06-29-2010, 06:54 PM
RE: IE8 == Worse Performance? - Aptimize - 07-02-2010, 03:42 PM
RE: IE8 == Worse Performance? - pmeenan - 07-02-2010, 09:35 PM
RE: IE8 == Worse Performance? - leonid - 06-29-2010 10:11 PM
RE: IE8 == Worse Performance? - pmeenan - 06-29-2010, 10:38 PM
RE: IE8 == Worse Performance? - leonid - 06-29-2010, 10:44 PM
RE: IE8 == Worse Performance? - jarrod1937 - 06-30-2010, 12:44 AM
RE: IE8 == Worse Performance? - jarrod1937 - 07-02-2010, 05:17 AM
RE: IE8 == Worse Performance? - pmeenan - 07-02-2010, 05:35 AM
RE: IE8 == Worse Performance? - jarrod1937 - 07-02-2010, 06:15 AM
RE: IE8 == Worse Performance? - pmeenan - 07-02-2010, 09:52 AM
RE: IE8 == Worse Performance? - jarrod1937 - 07-03-2010, 12:05 AM
RE: IE8 == Worse Performance? - pmeenan - 07-06-2010, 10:31 PM
RE: IE8 == Worse Performance? - jarrod1937 - 07-15-2010, 12:55 AM
RE: IE8 == Worse Performance? - pmeenan - 07-15-2010, 04:56 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)