Go homepage(回首页)
Upload pictures (上传图片)
Write articles (发文字帖)

The author:(作者)
published in(发表于) 2016/5/1 8:24:40
Web page loading speed for a second, the original impact so far...,

English

中文

Web page loading speed for a second, so profound and far-reaching influence ...-Web page, site-IT news

Global content delivery network (CDN) services leader Akamai recently announced by the State of the Internet that 2015 4th quarter the global average connection speed is 5.6Mbps, an increase of 23% rose 8.6%. Broadband Coalition released the 11th edition of the China broadband speed report shows that2016 1th quarter fixed broadband download speed of 9.46 Mbit/s, upgrade 13.4% per cent, and said the Ministry will continue to speed up hope before the end of the average connection speed up to 30M.

In the context of network speed, issued from time to time in our daily life "network is too slow," such a feeling. Natural here refers to the "slow" is not dial-up era needs to wait a few minutes to complete the page loads "slower" but even with high speed Internet access, page loading delays still exists on sensory experiences – especially on a mobile device. According to Google's internal research for Internet merchants, this is extremely negative, even the slightest delays can result in the loss of customers.

Matthew Prince (Matthew Prince) and his startups Cloudflare has found a way to solve the problem. Cloudflare is a service provided by caching pages on the home server to improve site speed and security, prevent Web sites from hacker attacks but also as far as possible for faster page loading for your legitimate users. Now, in order to make your site load faster, Cloudflare is deployed to launch HTTP 2.0 Web standards-based server push (Server Push), Mr Prince said compared to traditional client request (Client Pull) it allows for page load time by 1 second.

Perhaps shorten the time of 1 second sounds like not much, but according to Google research, even if one-fifth-second delay can reduce the time users are willing to consume browsing on the website. A Web application makes you feel like a local applications as smoothly or delay cannot be used, the differences between these two experiences hundreds of milliseconds. Therefore Prince think the server push experience will definitely make a huge difference, HTTP 2.0 allows developers on the Internet things previously thought impossible.

He said: "server push is the key to unlocking Web page. We hope to have this key in developers ' hands and to witness what will create the wonderful future together. 」

Small push different

Make us feel still very slow Web page loading is one of the reasons though since the era of dial-up bandwidth continues to increase, but at the same time the page becomes larger and more complex. High resolution pictures, animation effects, videos, ads, analyzing scripts is blamed for causing slow . Network has become so bloated, and now average page size is almost equivalent to the size of the original doom games.

Resulting in slower Web site is not just a page size. In fact in the process of opening a page, download each individual element requires your Web browser to the server hosting makes a separate request. If any of these requests appears Stalled (blocked) State, naturally, will affect the entire page loads, is more likely to lead to pages not displaying correctly.

While cutting off this part of the request may help, but for those who pay attention to pictures or interactive features of Web sites still need to deal with a lot of response from the server. This also means that the Web browser will also have unimpeded way better ways you can request all the elements.

--HTTP 2.0, this is the HTTP standard successor try to change places. HTTP 2.0 added a number of features with faster more efficient download and display a Web page, for example, in a message (or HTTP response) contains a number of data items.

Server push is Cloudflare company promoting standards in the future, but also the main features of the product. It allows Web servers tell Web browsers need to be covered in the early pages of all of the different elements, rather than as now in order to load Web page content.

Web task

Prince local bank Web site as an example for further instructions. When you sign in when banking site before the page is generated and sent to your Web browser must request a list of recent transactions and a list of your bank balance, only if your browser gets the page until further request such as bank LOGO and other elements such as tables, and tells the browser how to format a Web page. After you deploy the server push, Bank websites can be when calculating account balances sent LOGO and table styles.

Including Google Chrome and some browsers already support HTTP, Mozilla Firefox 2.0. Many other Web browsers have supported its predecessor--Google SPDY (pronounced same as Speed) Protocol. But now the problem is that only a small number of pages really supports HTTP 2.0. Prince said that site server push to deployment process is very slow.

As from today, customers have begun on the site of the Cloudflare deployment server push, even if it is not supported in their own server or Web host. And with this process accelerating, we have daily access to the site may be faster. Prince said there are already more than 2 million websites using Cloudflare service, which includes the world's top Web site 7% of the top 1 million. Theoretically, server push Cloudflare enables customers to more fully play, and added some content. For example, WordPress users will need to install the server push plug-in to take advantage of this feature.

Mr Prince said the real significance of the project is, will this tool into the hands of early adapters, which enables Web applications to turn over a new leaf, especially in the mobile space. Make Web pages more like a local application fluent, bring better prospects for the future of the Internet .


网页加载速度快一秒,原来影响这么深远… - 网页,网站 - IT资讯

全球内容交付网络(CDN)服务领头羊Akamai近日公布的《互联网状况》指出,2015年第4季度全球平均网速为5.6Mbps,同比增长23%环比增长8.6%。宽带发展联盟发布的第11期《中国宽带速率状况报告》显示,2016年第1季度我国固定宽带网络下载速率达到9.46 Mbit/s,环比提升13.4%,而且工信部表示将继续提速年底之前希望平均接入速度达到30M

在网络不断提速的大背景下,日常生活中我们依然不时发出「网络太慢了」这样的感慨。自然这里指的「慢」并非是拨号时代需要等待数分钟时间才能完成网页加载的「慢」,而是哪怕拥有高速网络接入,页面载入在感官体验上依然存在延迟--在移动设备上表现的尤为明显。根据 Google的内部研究这对于互联网商家来说是极其不利的,哪怕一丝的延迟都能导致客户流失。

马修·普林斯(Matthew Prince)和他的初创公司 Cloudflare 已经找到了解决问题的方法。Cloudflare提供的一项服务是通过在自家服务器上缓存页面来改善网站的速度和安全,避免网站受到黑客攻击的同时也尽可能的为合法用户带来更快的页面载入。现在,为了让网站加载更快,Cloudflare正部署推出基于HTTP 2.0网页标准的服务器推送(Server Push),普林斯表示相比较传统的客户端请求(Client Pull)来说这能够让页面载入时间缩短1秒。

也许这缩短的1秒时间听上去并不是很多,但根据Google的研究,哪怕五分之一秒的延迟都能减少用户愿意消耗在网站上的浏览时间。一个网页应用让你感觉像是本地应用一样流畅还是延迟的无法使用,这两种使用体验之间的差别其实只有数百毫秒。因此普林斯认为服务器推送必然会带来巨大的差异体验,HTTP 2.0能够让开发者在网络上实现此前认为不可能的事情。

他说道:「服务器推送是解锁网页应用新篇章的钥匙。我们希望把这把钥匙交到开发者手中并共同见证会创造出什么样的精彩未来。」

小推送大不同

让我们感觉网页载入依然很慢的原因之一是尽管自拨号时代以来带宽不断增加,但与此同时页面也变得的更大更复杂。高分辨率图片、动画特效、视频、广告、分析脚本都是导致变慢的罪魁祸首。网络已经变得非常臃肿,现在的平均网页容量几乎等同于初代《毁灭战士》游戏大小。

导致网站变慢的原因并非仅仅只是网页体积。事实上在打开网页的过程中,下载每个独立元素都需要你的网页浏览器向托管网站的服务器发出独立的请求。如果其中任何一个请求出现Stalled(阻塞)状态,自然就会影响整个页面的加载,更有可能导致页面显示不正确。

尽管裁切掉这部分的请求或许有些帮助,但对于那些注重图片或者交互功能的网站来说依然需要处理大量的服务器响应。这也意味着网页浏览器同样需要在不受阻碍的方式下使用更好的方式来请求所有元素。

这也是HTTP标准继任者--HTTP 2.0尝试改变的地方。HTTP 2.0中新增的数项功能能够更快更高效的下载和显示网页,例如能够在一个报文(或者HTTP响应)中包含多项数据项。

服务器推送是今后Cloudflare公司大力推进的标准,也是公司产品的主打功能。它能够让网页服务器告诉网页浏览器需要在前期页面中所涵盖的所有不同元素,而不再需要现在一样按照顺序载入网页内容。

让网页多任务

普林斯以本地银行网站为例进一步说明。当你登陆的时候,银行网站在生成页面并发送到你的网页浏览器之前必须请求一个关于近期交易清单并计算你银行存款余额的列表,只有当你的浏览器获得页面之后才会进一步请求例如银行LOGO和表格样式等其他元素,并告诉浏览器如何格式化网页。而在部署服务器推送之后,银行网站就可以在计算账户余额的时候发送LOGO和表格样式。

包括Google Chrome和Mozilla Firefox在内的部分浏览器都已经支持HTTP 2.0。很多其他网页浏览器也已经支持它的前身--Google的SPDY(发音和Speed相同)协议。不过现在的问题是只有少量的网页真的支持HTTP 2.0。普林斯表示,网站在部署服务器推送方面进程非常缓慢。

自今天开始,Cloudflare的客户已经开始在网站上部署服务器推送,哪怕他们自己的服务器或者网站主机并不支持。而伴随着这个进程不断加快,我们日常访问的网站可能变得更快。普林斯表示目前已经有超过200万家网站使用Cloudflare所提供的服务,这其中包括全球顶级网站前100万家中的7%。从理论上来说,Cloudflare能够让客户更充分发挥服务器推送的能力,同时也为客户新增了部分工作内容。例如,WordPress用户将需要安装服务器推送插件以便充分利用这项功能。

普林斯表示该项目的真正意义是,将这把利器交到早期适配者的手中,从而让网页应用翻开新的篇章,尤其是在手机领域。让网页更像一款本地应用样流畅使用,为互联网的未来带来更美好的前景






If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)





QQ:154298438
QQ:417480759