您好,欢迎来到济南诺商官方网站!
当前位置:首页 -> 新闻中心 -> 面对闪电算法我们的结局措施是什么?

面对闪电算法我们的结局措施是什么?

时间:2017.10.24 来源:http://www.weidaoshang.cn

闪电算法主要针对的是移动端,从这个不难看出百度在极力的鼓励站长们在移动端下功夫,从移动适配到MIP,可谓是煞费苦心。在这一点,篇章也是非常迎合百度,做了一个自适应网站,目前来说响应时间还算不错。
Lightning algorithm is mainly aimed at the mobile terminal, from this is not difficult to see, Baidu strongly encouraged the webmaster in the mobile terminal effort, from mobile adaptation to MIP, can be described as painstaking. At this point, the text is also very cater to Baidu, made an adaptive website, for now, the response time is pretty good.
1、移动端用户的下载速度
1, the download speed of mobile terminal users
让我们来研究下究竟是什么影响了智能手机上的网页加载速度,最明显的原因是智能机的网速,最佳情况下,移动端用户使用3G与4G上网。
Let's look at what affects the speed of web pages on smartphones, the most obvious reason is the speed of smartphones, and in the best case, mobile users use 3G and 4G to surf the web.
在美国,57%的用户使用3G上网,27%的用户使用4G;在加拿大,4G用户更少;而在英国,4G还是新鲜事物。Pcworld的研究表明:在美国,3G平均下载速度为2mbps,4G则为6.2mbps;ofcom的研究显示,在英国3G的下载速度为2.1mbps;北美和欧洲以外的连接速度一般较慢;1mpbs可换算为122kb每秒,或者0.12mb每秒,因此以上的数据可以转换如下:
In the United States, 57% of the Internet users use 3G, 27% of the users use 4G; in Canada, 4G users are less; while in Britain, 4G is still new. Pcworld studies show that 3G in the United States, the average download speed of 2Mbps, 4G, 6.2mbps; Ofcom research shows that in the UK 3G download speed is 2.1mbps; the connection speed is generally slower outside North America and Europe; 1mpbs can be converted to 122kb per second, or 0.12mb per second, the more data can be transformed as follows:
244 KB/s 3G用户平均网速值 (0.24 MB/s)
Average speed value of 244 KB/s 3G users (0.24 MB/s)
756 KB/s 4G用户平均网速值(0.76 MB/s)

Average speed value of 756 KB/s 4G users (0.76 MB/s)

商河全网营销

如果把上述值乘以移动用户等待时间4秒,这意味着网站对于3G用户来说最大为1mb,而4G用户为3mb。
If the above value is multiplied by the mobile user waiting time of 4 seconds, this means that the website for 3G users is the largest 1MB, while the 4G user is 3mb.
然而下载速度并不是瓶颈,网络延迟及智能机的内存与cpu才是瓶颈,即使手机可以在4秒内下载完1mb,页面也要花费更长的时间去加载,因为手机需要接收并解析代码与图片。
However, the download speed is not the bottleneck, memory and CPU network delay and intelligent machine is the bottleneck, even if the mobile phone can be downloaded in 4 seconds 1MB, page will take longer to load, because the mobile phone needs to receive and parse the code and pictures.
在桌面端,下载文件只占显示网站时间的20%,其余时间花费在解析http请求,获取样式表,脚本文件及图片上,由于移动端的cpu,内存与缓存跟桌面端完全无法相提并论,这些在手机上会花费更长的时间。
On the desktop, download the file to display the website accounted for only 20% of the time, the rest of the time spent at the request of analytical HTTP, obtain the stylesheet, script files and pictures, the mobile terminal CPU, and cache memory with the desktop can not be completely comparable, these in the mobile phone will spend more time.
2、怎样减少加载时间
2, how to reduce the loading time
构建一个快速的网站,就是一个做出艰难决定与砍掉非核心体验的过程,如果某一项需求价值不大,去掉之,这个原则适用于所有开发阶段,尤其是规划和编码时。
Build a quick website, is a process of making tough decisions and cut off non core experience, if one needs little value, get rid of, this principle applies to all stages of development, especially planning and encoding.
减少依赖文件:更少的文件意味着更少的http请求与更快的加载时间。
Reduce dependency files: fewer files mean less HTTP requests and faster loading time.
降低图片大小:适应与调整高分辨率图片,在额外的下载时间中占居榜首,占用了宝贵的内存与处理资源。
Reduce the size of picture: adaptation and adjustment of high resolution images, the extra download time in the top of the list, occupy memory and processing resources.
减轻客户端负担:最佳实践是重新思考你的javascript,并使之降低到最小尺寸。
Reduce client burden: the best practice is to rethink your JavaScript and reduce it to the smallest size.
3、怎样减少依赖文件
3, how to reduce dependency files
如果你想为移动端用户隐藏图片,display:none与visibility:hidden是不能阻止文件下载的。
If you want to hide pictures for mobile users, display:none and visibility:hidden can't stop file downloads.
更多的关于商河全网营销的问题或者详细的内容,请进入我们公司的网站:http://www.weidaoshang.cn网站中会有很多的内容仅供参考。
More questions about the whole network marketing in Shanghe or detailed content, please enter our company's website: http://www.weidaoshang.cn website will have a lot of content for reference only.

商河网络公司