该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Prefetch visible links

描述

After loading the page, the plugin starts to follow the user’s screen. And as soon as a link appears on the screen within your site – the browser executes the request and downloads it. Now that the user clicks on the link, the browser will instantly display a new cache page. Thus, User Experience will indicate that your site is loading instantly.

How it work

The plugin uses the built-in browser features to predict user behavior for preloading the tourniquet. See this

API

The plugin also registers a global feature that you can use to preload any URL:

window.prefetch('https://example.com/custom/page')

安装

This section describes how to install the plugin and get it working.

e.g.

  1. Upload prefetch/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Change container selector in Reading settings

评价

此插件暂无评价。

贡献者及开发者

「Prefetch visible links」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Prefetch visible links」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Prefetch visible links」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志