2009年5月24日 星期日

High.Performance.Web - Rule 6 - Put Scripts at the Bottom

Rule 6 - Put Scripts at the Bottom

PROBLEM 1: Everything below the script won't render until the script is loaded.
PROBLEM 2: All components below the script don't start downloading until the script is done.

這邊給了許多例子, 來展示把script 放在上面和放在底部的差別, 看了以後就把自己的script 搬到底部去吧

沒有留言: