Quicklink for WordPress

外掛說明

Quicklink for WordPress 會試著讓後續頁面的導覽載入速度更快。 安裝這個外掛後,便會在網站內嵌入一個 JavaScript 程式庫,這個 JavaScript 程式庫可以偵測檢視區內的連結、等待瀏覽器閒置時間並預先擷取這些連結的網址。如果網站使用者以慢速連線或行動資費方案存取網站,程式庫也會試著偵測這些連線方式。

這個外掛能夠開發完成,必須歸功於 Google Chrome Labs 令人讚嘆的工作成果。

如需進一步了解相關資訊,請參考 Quicklink 官方網站

外掛運作方式

  • 偵測檢視區內的連結:採用 Intersection Observer
  • 瀏覽器閒置時開始運作:採用 requestIdleCallback>。
  • 偵測網站訪客是否處於低速連線:採用 navigator.connection.effectiveType 或啟用採用 navigator.connection.saveData 的 data-saver。
  • 預先擷取連結中的網址內容:採用 <link rel=prefetch> 或 XHR。如果支援的話,會提供能切換至 fetch() 的要求順序控制項。

如果你是開發者,非常歡迎你追蹤這個外掛的 GitHub 存放庫參與這個專案的開發。

安裝方式

自動安裝

  1. 前往 [外掛] 頁面,並點擊 [安裝外掛]。
  2. 搜尋「Quicklink for WordPress」。
  3. 在 [外掛] 頁面啟用 Quicklink for WordPress。

手動安裝

  1. quicklink 資料夾上傳至 /wp-content/plugins/ 目錄
  2. 透過 WordPress 管理後台的 [外掛] 選單啟用 Quicklink for WordPress

常見問題集

這個外掛能讓網站變快嗎?

可以,也不行。這個外掛不會影響網站的實際執行效能,但使用者瀏覽網站時會覺得瀏覽速度有所提升,因為這個外掛會讓使用者的瀏覽器在瀏覽頁面時,預先擷取當下頁面中的連結所屬目標頁面。

這個外掛會讓網站變慢嗎?

通常不會讓網站變慢,但並非不會發生。如果這個外掛與其他外掛同時安裝,這些額外產生的預先點擊應該不會影響伺服器效能:但如果預先擷取大量耗用資源且未經快取的目標,效能的耗損便有可能發生。

如果網站變慢,網站管理員能處理哪些項目進行改善?

網站管理員請先檢查網站是否已啟用某些知名快取外掛,如 WP Super Cache、W3 Total Cache 或 WP Rocket 等。如果仍覺得這些效果不顯著,請在這些外掛中透過修改 quicklink_options 篩選器,將 Quicklink 組態加入例外規則。

使用者評論

2021 年 7 月 16 日 1 則留言
where i can see the performance?...i even don't see the performance for the link.It is there have any experience userinterface for that?
2020 年 3 月 1 日 1 則留言
Very pleased with the performance of Quicklink for WP. It works as advertised on WP 5.3.2. 5 stars.
2020 年 1 月 26 日
Thanks for this wordpress plugin!
2019 年 6 月 26 日
This plugin is flawless. Only added it on a couple of sites, but my PageSpeed Insights scores are still the same. The plugin is written by reputable coders who know what they are doing. Definitely worth adding, because prefetching page links is all the rage. That's why the Jamstack websites such as Gatsby are so quick to navigate. If you want your WordPress to be as fast then this is the type of plugin you should be adding, once you've done the basics like W3 Total Cache, Smush and the rest...
2019 年 2 月 27 日 2 則留言
I use this plugin in combination with WP Rocket and lazyloading. It works perfectly together, no issues or what so ever. But I'm not sure if this plugin is supported by all browsers. It works smoothly on Chrome, but on Firefox I don't seem to notice a difference. Got to test it with other browsers. But overall, good plugin. Recommended.
閱讀全部 11 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Quicklink for WordPress〉的開發相關工作。

參與者

〈Quicklink for WordPress〉外掛目前已有 6 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Quicklink for WordPress〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.10.0

  • General maintenance for the repository
  • Updated Quicklink dependency to version 2.3
  • Tested for WordPress 6.2

0.9.0

  • General maintenance for the repository
  • Updated Quicklink dependency to version 2.2
  • Tested for WordPress 5.8

0.8.0

  • Updated Quicklink dependency to version 2.0

0.7.3

  • Made a function have a less generic name

0.7.1

  • Fix some more deprecations with WooCommerce

0.7.0

  • Changed the defaults to ignore links with get requests to improve compatibility
  • Removed some deprecated functions for WooCommerce

0.6.0

  • Updated Quicklink to version 1.0.1

0.5.0

  • Added rules and compatibility for WooCommerce

0.4.0

  • Updated the script loading to load asynchronously
  • Updated the plugin assets

0.3.0

  • Added compatibility with AMP
  • Added amazing contributors
  • Added the new WordPress filter ‘quicklink_options’ to modify quicklink settings

0.2.0

  • Release for the plugin repository
  • Tuned quicklink ignores for WordPress

0.1.0

  • Initial release