网页访问十秒极限 - Ten second limit
作者:Java伴侣 日期:2008-07-22
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
相关日志: