移动浏览器与网络浏览器有何不同
在用户点击 www.google.com 和在浏览器中查看该页面之间会发生一组特定的过程。谁能告诉我在类似的过程中发生的所有事情。还有移动浏览器与网络浏览器的不同之处。
There are a specific set of process happens between a user hits www.google.com and see the page in the browser. Can anybody tell me what all things that happen during a similar process. Also how mobile browser is different from web browser.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在这方面,http是如何请求的,移动设备与桌面设备没有什么不同。
In this respect, how http is requested, mobile is not different than desktop.
Aame 的事情发生了,移动浏览器像 PC 浏览器一样呈现 html 文档。
当然,它们可能有更少的内存、不同的渲染引擎、在非常小的屏幕上运行等等。但是,最终它只是对 google.com 的另一个 http 请求。
根据网络或网络连接类型的不同,可能还会存在其他差异。运营商网关/代理。一些运营商会过滤/代理所有与网络的通信。
此外(通常)从运营商客户到网络的互联网流量也通过几个公共 IP 路由
Aame stuff happens, mobile browser(s) renders html documents like your pc browser(s).
Of course they might have have less memory, different rendering engine(s), run on a very small screen etc etc etc. But, at the end it is just another http request to google.com.
Depending on network or connection type to the net there might be another difference. Operator gateway/proxy. Some operators filter/proxy all communication to the net.
Also (usually) internet traffic from operator's customers to the net routed through couple of public IPs
这实际上取决于您要比较的浏览器。例如,Safari Mobile 和 Safari for Mac 彼此非常相似,以至于您经常在两者上看到相同的页面。然而,Pocket PC 上的 IE 与 IE8 有很大不同,两者的页面呈现方式也有所不同。
通常,站点运营商会检查所有浏览器都有的 UserAgent 字符串,以了解它是哪个浏览器。然后,网站运营商可以根据自己的意愿选择显示移动网站还是常规网站。
PPK 在 quirksmode.org 上提供了所有浏览器怪癖和功能的详细列表。这是移动开发的必读之作。
This really depends on what browsers you're comparing. For example, Safari Mobile and Safari for Mac are quite similar to one another, so much so that you often see the same page on both. However IE for Pocket PCs is much different than IE8 and pages would render somewhat differently in those two.
Usually, site operators check the UserAgent string that all browsers have, to see which browser it is. Then, it's up to the site operator to show a mobile site or a regular site based on whether they want to or not.
PPK has a great list of all browser quirks and features, at quirksmode.org. It's a must-read for mobile development.