這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Instant Links

外掛說明

Works out of the box. After activating, this plugin will pre-fetch the next web page just before your user clicks, thus giving the experience of an instant page load.

Better UX. Perfect for slower and shared web hosting plans.

This plugin is a wrapper for instant.page with some additional options and designed to be ready-to-go out of the box. No configuration needed.

More from https://instant.page/

instant.page uses just-in-time preloading — it preloads a page right before a user clicks on it.

Before a user clicks on a link, they hover their mouse over that link. When a user has hovered for 65 ms there is one chance out of two that they will click on that link, so instant.page starts preloading at this moment, leaving on average over 300 ms for the page to preload.

Easy on your server and your user’s data plan

Pages are preloaded only when there’s a good chance that a user is going to visit them, and it preloads only the HTML of that page, being respectful of your users’ and servers’ bandwidth and CPU. It’s 1 kB and loads after everything else. And it’s free and open source (MIT license).

Some Technical Info: https://instant.page/tech

螢幕擷圖

  • Convenient settings area to debug links, exclude links and override other settings.

安裝方式

The easy way:

  1. Go to the Plugins Menu in WordPress
  2. Click “Add New”
  3. Search for “WP Instant Links”
  4. Click “Install Now”
  5. Click “Activate”

The not so easy way:

  1. Upload the wp-instant-links folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. You’re all set!

常見問題集

Do you preload every page?

This will only preload an internal page when the user hovers over the link to the page for 65ms. To view which pages are being loaded, enable debugging in the settings and check the developer tools console for details

Will it preload the logout page and log me out?

Pages with a query string (a “?”) in their URL aren’t preloaded, which includes the WP logout URL. If you would like to include URLs with query strings, you check that option in the settings area.

Can I override a link that I do not want preloaded?

Yes, just add the “data-no-instant” attribute to the element, or add it to the exclusions list in the settings area.

使用者評論

2020 年 4 月 14 日
I can't believe that such feature isn't available in some major speed optimization like WP Rocket, Autoptimize...
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Instant Links〉的開發相關工作。

參與者

將 WP Instant Links 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1.0 – 2019/Apr/28

  • FEATURE: Adds option to include all external links
  • TWEAK: Updates instant.page to 1.2.2
  • TWEAK: Adds a few extra debugging outputs

1.0.2 – 2019/Feb/14

  • TWEAK: Updates content in various areas

1.0.1 – 2019/Feb/14

  • FIX: Adds JS file forgotten by deploy script

1.0.0 – 2019/Feb/14

  • Initial Release