网页应该保留在最大尺寸下吗? [英] Is there a maximum size that web pages should be kept under?

查看:92
本文介绍了网页应该保留在最大尺寸下吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我说尺寸时我说的是字节而不是像素。

我很好奇是否对各种类别的最大尺寸应该达成共识。特别是:


  1. 宽带连接

  2. 拨号连接
  3. 移动连接


解决方案

大小并不是一切。重要的是性能。甚至更好:感知的表现。有很多方法可以让网站比实际更快。这些技术中的一些甚至可以增加绝对页面大小(以字节为单位)(例如添加更多的JavaScript逻辑)。



使用像 Yahoo! YSlow 并停止专注于页面大小。这只是网站性能的一个因素,甚至不是最重要的因素。


When I say size I'm talking about bytes not pixels.

I'm curious if there is any consensus on what the maximum size should be for various categories. Specifically:

  1. Broadband connections
  2. Dialup connections
  3. Mobile connections

解决方案

Size isn't everything. What matters is performance. Better even: perceived performance. There are many ways to make a website feel faster than it really is. Some of these techniques can even increase your absolute page size in bytes (e.g. adding more javascript logic to it).

Test your websites with a tool like Yahoo! YSlow and stop focussing on page size. That's just one factor of website performance and not even the most important one.

这篇关于网页应该保留在最大尺寸下吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆