08-03
04

网页访问十秒极限 - Ten second limit

According to usability guru Jakob Nielsen,
user satisfaction begins to seriously degrade
after 10 seconds of waiting.

Try to minimize the size of generated pages. For a slow connection
at 28.8-56K, this 10 second limit corresponds to a file size of about 34K.

Keep graphics to a minimum. Consider compressing (zipping) content as well.

One simple optimization is to remove unnecessary white space in generated html (去掉html中多余的空格):

  • it is easy to implement - 容易实现
  • it translates directly into reduced download times - 减少数据传输
  • it can produce significant savings in file size, typically in the range of 10-25% - 文件大小通常可以减少10-25%

Most of the gains from removing white space are related to indentation,
especially that occurring within loops. This indentation can be left in

place during development, and then removed after testing is complete.



文章来自: 本站原创
引用通告: 查看所有引用 | 我要引用此文章
Tags: Ten second limit
相关日志:
评论: 0 | 引用: 0 | 查看次数: 516
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 1000 字 | UBB代码 开启 | [img]标签 关闭