內容簡介
該插件可以使網站的頁面加載速度提高大約0.5秒,即使你已經採取了各種快速網站的方法,並且沒有進行任何更改。
Google和Amazon已經證明,在您優化網站頁面加載時間到約1秒左右之後,縮短0.1秒頁面加載時間的價值非常大。pjax和preload提供了大約0.5秒的價值。
您可以從控制台的輸出看到此插件的速度。
[-310, 1, 361, 379, 403, 424, 450, 486, 487, 491]
["preload(-310)", "continue(1)", "load(361)", "parse(379)", "head(403)", "content(424)", "css(450)", "script(486)", "renderd(487)", "defer(491)"]
如果您在JavaScript和CSS等方面遇到問題,則需要設置内置 load.reload 和 load.ignore 參數的pjax。
該插件類似於試用版。如果您想進一步優化和自定義,建議您直接設置jQuery插件,而不使用此插件。
API
pjax:http://falsandtru.github.io/jquery.pjax.js/
preload:https://github.com/falsandtru/jquery.preload.js
require:jQuery1.6+
外掛標籤
開發者團隊
② 後台搜尋「Preload & Pjax Faster Page Load」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
About 0.5 seconds faster page load of the site, even after you’ve taken the various means for faster site, without making any changes.
Google and Amazon have shown, there is a huge value to 0.1 seconds to shorten further after you have improved to about 1 second load time of the page. pjax and preload provides about 0.5 seconds of this value.
You can see if was how fast this plugin from the output of the console.
[-310, 1, 361, 379, 403, 424, 450, 486, 487, 491]
["preload(-310)", "continue(1)", "load(361)", "parse(379)", "head(403)", "content(424)", "css(450)", "script(486)", "renderd(487)", "defer(491)"]
If you have problems reading such as JavaScript and CSS, it is necessary to set the pjax of built-in load.reload and load.ignore parameter.
This plug-in is like a trial version. If you want to optimize and customize in more detail, it is recommended that you set directly jQuery plug-ins built without the use of this plug-in.
API
pjax: http://falsandtru.github.io/jquery.pjax.js/
preload: https://github.com/falsandtru/jquery.preload.js
require: jQuery1.6+
