English 中文(简体)
为什么黑帮装置访问网页的速度比个人电脑慢?
原标题:Why moblie device access web pages slower than PC?

我有一个关于iphone 和 PC 的问题,它连接了相同的 WiFi, 打开相同的网页,PC 不到 1 秒,但iphone 需要 3-5 秒。 Ristyi 开发了一个网络应用程序,并鉴于这种情况,如何优化网络应用程序 。

问题回答
Slower network access (small bandwidth + hight latency).

+ Slower CPU

_____________

= slower web rendering

解决办法?

1) 最小化连接(页面的对象号)。

2) 尽量减少总规模。

3) 尽量减少客户方的计算(除了复杂的网络应用程序外,迫切需要这样做)。

潜伏问题很重要 。 考虑使用图示来重新组合图像。 当然, 当小图象足够时, 不要使用大图象 。

由于移动设备越来越多样化,最好不要把注意力集中在探测和具体优化上,而是应用一般网站优化(Google在这里是你的朋友)。

首先,可能是因为 iPhone和PC 的穿衣者不相同。

即使是同一个网页, 变形发动机也不一样。

使用以移动设备为重点的 css 优化网页是一个良好的开端:

<link rel="stylesheet" href="assets/css/mobile.css" type="text/css" media="handheld" />

影响业绩的因素可能有若干:

cpu 处理速度/ 电量: 您的 PC 可能有更好的 cu 。 这意味着它可以更快地执行更多的指令 。

Web 浏览器: 特定的 Web 浏览器在创建页面时可能比较慢/ 更快。 浏览器可能使用不同的 javascript 引擎, 这也会影响性能 。

内存:两个系统之间的内存数量和速度将影响性能。

结束...





相关问题
select multiple files in file upload in php? [duplicate]

Possible Duplicate: How to select multiple files for upload? i know that php doesn t allow you to select multiple files to upload in one box. is there a work around or do you have to learn ...

Connecting Actionscript 3.0 with a C++ backend?

I am curious to know if there is a way of connecting a flash front-end to a C++ driven backend? I m not currently working on a project that involves this, but I found out about an application used in ...

PHP searchable catalog design

I m working on a PHP Real Estate catalog. I am working on the search part right now and I m having trouble with the logic. Should the default view show all items in the catalog or the search page? ...

jquery image preview that work on ajax embedded image links?

there are various good jquery image preview plugins out there. however, all of the ones i ve tested havent worked on image links that are embedded in the DOM with ajax. i have tested use jquery live ...

Why should I use XFN in my HTML?

What is the benefit of using XFN (XHTML Friends Network)? I ve seen this on multiple blogs and social networking sites but I don t really understand why it s useful. Other than being able to style ...

The modern way to clear floated content?

What s the modern way to clear floated content these days? There s the "recent" modern way of adding a ".clearfix" on the parent element to clear the contained floats and that would work great. In ...

create a "show up" window when you click register?

im a backend programmer who wants to have a window that appears in front of the current window when clicking "register". so that you dont have to redirect to another page. i think u guys know what i ...

热门标签