当前位置: 首页 > 网络学院 > 设计教程 > 设计理念 > 确保网站的加载速度

设计理念
Web 可访问性
Web 国际化
让你的Blog重获青春
精彩网页设计九“慎”
CSS如何为同一个元素处理多种规则
30步,网站信任度提升200%
平台越简单,成功的指数越高
困扰个人网站做大做强的思考
25种马上提高浏量的方法
CSS比表格更难吗?
web标准的商业价值
关注web标准的真正原因
web标准,我们去向何方?
通向web标准之路
初学web标准的几个误区
学习CSS的10大理由
伴随着Web标准发展
同一个页面用多个id有什么影响
如何提高页面响应速度
十大网站设计错误

设计理念 中的 确保网站的加载速度


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 1724 ::
收藏到网摘: n/a

Every site must exert every effort in order to make their websites load fast. Too slow or lousy loading drives away visitors. The reason behind is - they don't want to WAIT, that is!

每个网站应该竭尽全力使自己的加载速度达到最快。如果加载速度过慢,或是恶作剧的,那无疑会使访问者不愿再回到你的站点。背后的原因就是——他们不希望等待,就是这样!

Patience and time are two of the precious attributes why you have to make your site easy to load. Patience because visitors do not have patience to stick with your site until your site has fully loaded. Visitors can change their mind in just a flick of a finger thus your site must load as fast as a flick of a finger to keep them from running away. Remember that they have lots of alternative sites to choose from so give them reason to consider your site? Time, on the other hand, is an essential element to everyone. Who would want delay when you can have prompt results with other websites?

耐性和时间是两个最有价值的属性,这就是为什么你要将你的站点能够更加方便下载。所谓的耐性,就是指访问者在网站全部下载完毕之前所愿意等待的下载时间。访问者可以随之关闭你的站点,所以网站必须在这之前加载完毕。他们还有很多备选网站,所以你想留住他们,必须给出一个能够留住他们的理由。时间对于每个人来说都是非常重要的。如果访问者能在其他网站中得到他们想要的东西,那么他们凭什么在你的网站中等待?

What therefore, are the things to be considered? First, we have to bear in mind that not everyone has cable modem, T1 or ISDN connection to the internet. Thus, web designers must ensure that sites load as fast as possible.

因此,我们应该考虑哪些因素呢?首先,我们要知道,不是每个人所用的上网设备都是电缆ModemT1ISDN来连接Internet的。因此,网站的设计师必须确保网站能够尽可能快的加载。

Second, we have to consider the bandwidth. Avoid using multimedia forms. These sound files can take up immense bandwidth especially if they are .wav file. Videos can also be more demanding to loading a site. If it is unnecessary or there are other alternatives to multimedia, then, do not use it. If ever it is pretty important to have them in your site, limit the size - that's your last alternative.

第二,我们必须要考虑带宽问题。尽量避免使用多媒体格式。声音文件会占据大量的带宽,特别是当它们是.wav文件的时候。视频文件对站点的加载速度的要求也非常苛刻。如果没有必要,或者可以使用其它可替代的多媒体,那么,就不要再使用它。如果它们确实是你网站中的一个重要部分,那么请在最后转换格式的时候,尽量限制它的尺寸大小。

Big images mean big loading problem. Aside from multimedia forms, also limit the use of huge images. In order to reduce them, use simple and smaller dimensions. You can do this by resizing or compressing your images. There are tutorials available on the Net which will guide you on how to reduce size of images without making it look grotesque and unclear.

大尺寸的图片意味着大问题的加载速度。除了多媒体格式外,也要对图片的使用加以限制。为了减少对它们的使用,尽量使用简单的图片和为数不多的图片。你可以通过重新定制图片尺寸或压缩图片来达到这个目的。有很多教程可以教会你如何在保证图片质量的情况下缩减图片的尺寸。

After, resizing or compressing, you can use your images on the front page and it will be in the browser's cache and it will load quickly on other pages when called for. Therefore, you need not worry about loading them again and again.

然后,重新定制和压缩,你可以在首页使用图形,它将被放置在浏览器的缓存中,当请求该页面时,它可以被很快地加载。因此,你就不必要担心一次又一次地下载它们。

Defining both the length and the width of the image can also be a good alternative. In addition, it will update you on how much space it will utilize therefore saves time.

确定图片的长、宽要素也是非常不错的选择。另外,它会告诉你到底该使用多少空间,从而节省时间。

Another thing that you can do is to make your front page as short as possible so that it will not take long to load. Explanations and prolonged discussions must be put on the next pages.

你所要做的另外一件事就是尽可能使首页的加载速度缩短。解释和延迟的讨论必须放到后面一页。

After you have done these techniques, do some tests. If you are satisfied with the loading time - better!

在你掌握了这些技巧之后,做一些测试。如果你希望是你的网站加载速度变快的话!

评论 (0) All

登陆 | 还没注册?