作者: | 来源:互联网 | 2023-10-12 18:40
IntheBestPracticestoimprovewebsitePerformancehttp:developer.yahoo.comperformancerules.h
In the Best Practices to improve web site Performance http://developer.yahoo.com/performance/rules.html, Steve Souders mentioned one rule "Move Scripts to the Bottom". It's a little confusing. Actually, I notice that a lot of web pages that doesn't put script at bottom, while YSlow still mark A for these pages.
在改进网站性能的最佳实践http://developer.yahoo.com/performance/rules.html中,史蒂夫·索德斯提到了一条规则“将脚本移到底部”。这有点令人困惑。实际上,我注意到很多网页没有将脚本放在底部,而YSlow仍然标记这些页面的A.
So, when should I follow the rule "Put Scripts at the Bottom"?
那么,我什么时候应该遵循“将脚本放在底部”的规则?
5 个解决方案