关注前端开发
关注用户体验

全球网页平均加载速度为4.9秒

日前Google发布了一份网页统计报告,来源于他们索引的42亿个网页(PageRank高的网站占的权重可能会比较高):

— 网页的平均容量是320KB(包含网页里内嵌的脚本、图片、CSS),不过需要注意的是有些网站会通过robots.txt阻止Google爬虫索取 CSS和JS脚本文件

— 只有2/3的可压缩内容真正被压缩了,同样需要注意的是有些网站为真正的浏览器提供压缩内容,而给Google爬虫看的则是未压缩的

— 80%的页面里包含10个或10个以上的同一主机里的素材

— 大部分流行网站并没有将同一主机里存放的脚本和CSS都写到一起,导致多出8个HTTP请求

— 每张网页里包含的图片数量是29.39个,加在一起有205.99KB

— 每张网页里包含7.09个外部脚本和3.22个外部CSS,平均脚本大小是57.98KB,CSS是18.72KB

— 只有1700万张网页使用了SSL加密,占总数的0.4%

— 平均网页加载速度为4.9秒,需要请求49个不同的来源

Google此举是为了提高大家对网页读取速度优化的重视程度,他们为网页开发者提供了很多帮助指南,来提高效率。

Google给出的主要建议有四点:

— 使用Gzip压缩页面

— 使用HTTP缓存

— 优化JavaScript代码

— 合并脚本和CSS

赞(1)
未经允许不得转载:大前端 » 全球网页平均加载速度为4.9秒
分享到: 更多 (0)

评论 8

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #8

    well, outsourcing can actually save any company several million dollars because of cheap labor.,

    Nonton Anime2周前 (05-10)回复
  2. #7

    I’m curious to find out what blog platform you have been working with? I’m having some minor security issues with my latest blog and I would like to find something more risk-free. Do you have any recommendations?

    cat tales2周前 (05-08)回复
  3. #6

    There are certainly a great deal of details that adheres to that to take into consideration. That is the fantastic specify retrieve. I provide the thoughts above as general inspiration but clearly you will find questions just like the one you raise up the location where the biggest factor might be employed in honest good faith. I don?t know if guidelines have emerged around items like that, but I am certain that a job is clearly known as a good game. Both little ones have the impact of merely a moment’s pleasure, through out their lives.

    my singing monsters2个月前 (03-28)回复
  4. #5

    I have read a few excellent stuff here. Definitely price bookmarking for revisiting. I wonder how much attempt you set to create the sort of fantastic informative site.

    Else Crespin3个月前 (03-11)回复
  5. #4

    我现在用的就是大前端主题,很不错

    赵华阳8年前 (2011-11-23)回复
  6. #3

    我只知道cdn别的还都没重视,现在知道了

    博客爪8年前 (2011-11-23)回复
  7. #2

    是啊,没接触过HTTP缓存

    天捷娱乐9年前 (2010-07-16)回复
  8. #1

    使用HTTP缓存 我觉得好多站都没有用到

    浩子9年前 (2010-07-12)回复

themebetter 国内更好的WordPress主题服务商

立即前往