网页应该保留在最大尺寸下吗? [英] Is there a maximum size that web pages should be kept under?
问题描述
当我说尺寸时我说的是字节而不是像素。
我很好奇是否对各种类别的最大尺寸应该达成共识。特别是:
- 宽带连接
- 拨号连接
- 移动连接
大小并不是一切。重要的是性能。甚至更好:感知的表现。有很多方法可以让网站比实际更快。这些技术中的一些甚至可以增加绝对页面大小(以字节为单位)(例如添加更多的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:
- Broadband connections
- Dialup connections
- 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屋!