google浏览器audits
功能翻譯
audits,審計(jì)
Audits help you identify and fix common problems that affect your site's
performance,accessibility and user experience
perform an audit
審計(jì)可幫助您識(shí)別并修復(fù)影響您網(wǎng)站的常見問題
性能,可訪問性和用戶體驗(yàn)
執(zhí)行審計(jì)
找了一個(gè)頁面執(zhí)行了下,給出了以下3類建議:
Minimize cookie size
The average cookie size for all requests on this page is 45?B
最大限度地減小Cookie大小
本頁面上所有請(qǐng)求的平均Cookie大小為45 B
Optimize the order of styles and scripts (2)
The following external CSS files were included after an external JavaScript file in the document head. To ensure CSS files are downloaded in parallel, always include external CSS before external JavaScript.
main.css
1 inline script block was found in the head between an external CSS file and another resource. To allow parallel downloading, move the inline script before the external CSS file, or after the next resoure
465/5000
優(yōu)化樣式和腳本的順序(2)
文檔頭中的外部JavaScript文件之后包含以下外部CSS文件。為了確保CSS文件并行下載,請(qǐng)始終在外部JavaScript之前包含外部CSS。
的main.css
在外部CSS文件和其他資源之間的頭部發(fā)現(xiàn)了1個(gè)內(nèi)嵌腳本塊。要允許并行下載,請(qǐng)?jiān)谕獠緾SS文件之前或下一個(gè)資源之后移動(dòng)內(nèi)聯(lián)腳本
Remove unused CSS rules (12)
12 rules (44%) of CSS not used by the current page.
main.css: 44% is not used by the current page.
刪除未使用的CSS規(guī)則(12)
當(dāng)前頁面未使用的CSS的12條規(guī)則(44%)。
main.css:44%未被當(dāng)前頁面使用。
總結(jié)
以上是生活随笔為你收集整理的google浏览器audits的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 《最后的荣光》名将图鉴——筑城者
- 下一篇: 痘痘如何治疗(治痘痘的最好办法)