Google has recently published a report about the Web, which includes a lot of interesting stats. The results were obtained from a sample of 4.2 billion web pages indexed by Google.
"The average web page takes up 320 KB on the wire (Google took into account the embedded resources such as images, scripts and stylesheets). Only two-thirds of the compressible material on a page is actually compressed. In 80% of pages, 10 or more resources are loaded from a single host."
The average number of images per page is 29.39 and the average size of all the images from a page is 205.99 KB. A web page includes an average of 7.09 external scripts and 3.22 external stylesheets. The average size of the scripts is 57.98 KB and the size of the stylesheets is 18.72 KB. Google also found that only 17 million pages from the sample use SSL (about 0.4%).
Urs Hölzle, Google's Senior Vice President of Operation, said that the average web page takes 4.9 seconds to load and it makes 44 calls to different resources. "Speed matters. The average web page isn't just big, it's complicated. Web pages aren't just HTML. A web page is a big ensemble of things, some of which must load serially," said Urs Hölzle.
Google offers a lot of tutorials that help web developers improve the performance of their websites. Google advises to use Gzip compression, use HTTP caching, optimize JavaScript code and properly combine scripts and stylesheets.
Just applying Gzip compression and proper loading ordering of CSS and Javascript can save a lot in terms of loading times.
ReplyDeleteI think developers are becoming relaxed because the average speed of access has gone up heavily over the last few years.
Arun
"In 80% of pages, 10 or more resources are loaded from a single host." I also read this at many places and made a subdomain as CDN. This is not required for blogger as I think bloggers are using lots of different hosts due to plugin, widget and other stuff requirement.
ReplyDeleteHi,
ReplyDeleteI've just released a new YSlow extension - Web Metrics Framework. You can install it from Mozilla Add-on gallery: https://addons.mozilla.org/en-US/firefox/addon/221495/
It's a new ruleset for YSlow based on these metrics.
For more details, read my post: http://www.javascriptrules.com/2010/08/25/web-metrics-framework/
The source code is in my GitHub: http://github.com/marcelduran/Web-Metrics-Framework
Your feedback and comments are highly appreciated to help me improving this extension.
Thanks,
Marcel