一个备选方法是使用延迟脚本(deferred script),DEFER属性表明脚本未包含document.write,指示浏览器刻继续显示,不幸的是,Firefox不支持DEFER属性,在IE中,脚本可能被延迟执...
基于12个网页-相关网页
通常的建议是使用延迟脚本。
An alternative suggestion that often comes up is to use deferred scripts.
使用网络分析器找出加载脚本和其它页面资源的瓶颈所在,这有助于决定哪些脚本需要延迟加载,或者进行进一步分析。
Use a network analyzer to identify bottlenecks in the loading of scripts and other page assets; this helps determine where script deferral or profiling may be needed.
应用推荐