12? 22, 2015
PageSpeed Insights
0
On this page
當PageSpeed Insights檢測到系統(tǒng)需要進行更多次的網(wǎng)絡往返來呈現(xiàn)網(wǎng)頁的首屏內容時,就會觸發(fā)此規(guī)則。
??? ??? ?? ?? ?? ? ??? ???? ??? ??? ???? ??? ? ?? ???? ???. ???? ?? ??? ? ????(?: ??? ????)? ???? ?? ? ??? ??? ?? ??? ? ????.
? ??? ?? ??? ???? ? ???? ? ?? ??? ????? ? ??? ???(HTML ???, ??, CSS ? JavaScript) ??? ??????. ?? ?? ??? ?? ?? ?? ??? ??? ? ? ????.請首先加載網(wǎng)頁的主要內容。結構化網(wǎng)頁,以便服務器發(fā)出的初始響應能發(fā)送必要數(shù)據(jù),從而迅速呈現(xiàn)網(wǎng)頁的關鍵部分并暫緩呈現(xiàn)其余部分。這可能意味著,您必須將CSS拆分為兩個部分:負責調整內容ATF部分的格式的內嵌部分,以及可暫緩呈現(xiàn)的部分。
?? ??? ??? ?? ? ???? ????? ??? ?? ?? ??????.
- 如果您的HTML先加載第三方小部件,再加載主要內容,請將該加載順序更改為先加載主要內容。
- ? ???? 2? ????(?, ????? ????? ???? ???)?? HTML? ????? ?? ??? ? ???? ???? ?? ???? ?? ???? ?? ??? ????.
- ??? ?? ??: ???? ??? ??? ???? HTML, CSS, JavaScript? ??? ????. ???? ?? ??? ??? ?? ? ?? ??? ???? ???? ??? ?????.
- 盡可能考慮使用CSS,而非圖片.
- ?? ?? ??
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 3.0 License, and code samples are licensed under the?Apache 2.0 License. For details, see ourSite Policies.
