Title: SM &#8211; Prefetch
Author: Sulaiman Misri
Published: <strong>2022 年 8 月 24 日</strong>
Last modified: 2022 年 12 月 20 日

---

搜索插件

![](https://ps.w.org/sm-prefetch/assets/banner-772x250.png?rev=2775202)

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

![](https://ps.w.org/sm-prefetch/assets/icon-256x256.png?rev=2775202)

# SM – Prefetch

 作者：[Sulaiman Misri](https://profiles.wordpress.org/sulaimanmisri/)

[下载](https://downloads.wordpress.org/plugin/sm-prefetch.zip)

 * [详情](https://cn.wordpress.org/plugins/sm-prefetch/#description)
 * [评价](https://cn.wordpress.org/plugins/sm-prefetch/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/sm-prefetch/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/sm-prefetch/#developers)

 [支持](https://wordpress.org/support/plugin/sm-prefetch/)

## 描述

SM Fetch is built to make your website load blazing fast using Prefetch Algorithm.
In order to make this plugin work perfectly, you need to :

 1. Have multiple pages in the website. But single page also work, as long as you have
    Button to link to other pages / website.
 2. This plugin handle the front-end caching. If your current plugin is already handle
    that part, you can disable that function and use this plugin function to see the
    differences.

### How this plugin work?

 1. User visits a page.
 2. In the background, the algorithm will prefetches other pages data.
 3. When the user visits the next page, it will loads faster because it’s already downloaded.
 4. The data will be stored at User browser (front-end). Not server (back-end).

## 安装

 1. Upload the plugin folder to your /wp-content/plugins/ folder.
 2. Go to the **Plugins** page and activate the plugin.

## 常见问题

### How do I use this plugin?

 1. Simply install the plugin and then the plugin will make a prefetch automatic to
    all your pages. It just works!

### How to uninstall the plugin?

 1. Simply deactivate and delete the plugin.

### Do you offer PRO version?

 1. No. This plugin will be free. Always.
 2. But I do accept Freelance work. Please go to my website (https://sulaimanmisri.
    com).

## 评价

![](https://secure.gravatar.com/avatar/241a02381022741b75dfa8c794a4191c94576e3fea5fe750f0c02b39ba959102?
s=60&d=retro&r=g)

### 󠀁[Slow reload](https://wordpress.org/support/topic/slow-reload/)󠁿

 [sofone10](https://profiles.wordpress.org/sofone10/) 2023 年 1 月 26 日

Some of my websites load slow using this plugin. Sometimes occur database error 
connection.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/sm-prefetch/reviews/)

## 贡献者及开发者

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

贡献者

 *   [ Sulaiman Misri ](https://profiles.wordpress.org/sulaimanmisri/)

[帮助将「SM – Prefetch」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/sm-prefetch)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/sm-prefetch/)，查看[SVN仓库](https://plugins.svn.wordpress.org/sm-prefetch/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/sm-prefetch/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/sm-prefetch/)。

## 更新日志

### 1.5.1

 * Create new logic for woocommerce plugin.
 * Fix Website show `Critical Error` when there’s no Woocommerce plugin active.
 * Introducing `prefetch-wc` for Woocommerce user.
 * Introduction `is_cart`, `is_checkout`, `is_account_page` to make sure all Woocommerce
   pages is excluded.

### 1.5.0

 * Exclude all Woocommerce Pages using `is_woocommerce` and `woocommerce_myaccount_page_id`
   built-in function.
 * Fix Woocommerce theme such as Storefront not load data in `my-accounts` page.
 * Fix `my-accounts` page not changed even after user save the details.

### 1.4.2

 * Change from Event `DOMContentLoaded` into `Load` as the original developers suggest.

### 1.4.1

 * Fix the plugin is not compatible with Oxygen and Breakdance Page Builder.
 * Fix the plugin is not compatible with Twenty-Two Theme.
 * Change from `get_footer` hook to `wp_enqueue_scripts` hook.
 * Change from Event `Load` into `DOMContentLoaded` to make the code load Async-
   like.

### 1.4.0

 * Enqueue the script properly using WordPress default `wp_enqueue_script`.
 * Adding new function, which is to remove all the versioning tag in WordPress JavaScript
   file.
 * Refactoring files.

### 1.3.0

 * Change from serve locally to serve JS file using CDN.
 * Remove Assets.
 * Change content.

### 1.2.2

 * Fix WordPress error show Header Send even though nothing will happen.
 * Optimize and remove unused images.

### 1.2.1

 * Edit content.

### 1.2.0

 * Change Plugin Descriptions.
 * Insert Assets.

### 1.1.0

 * Fix plugin and serve all the files locally.

### 1.0.0

 * Plugin released.

## 额外信息

 *  版本 **1.5.1**
 *  最后更新：**3 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/sm-prefetch/)
 * 标签
 * [prefetch](https://cn.wordpress.org/plugins/tags/prefetch/)[speed optimization](https://cn.wordpress.org/plugins/tags/speed-optimization/)
 *  [高级视图](https://cn.wordpress.org/plugins/sm-prefetch/advanced/)

## 评级

 3 星（最高 5 星）。

 *  [  0 条 5 星评价     ](https://wordpress.org/support/plugin/sm-prefetch/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/sm-prefetch/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/sm-prefetch/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/sm-prefetch/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/sm-prefetch/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/sm-prefetch/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/sm-prefetch/reviews/)

## 贡献者

 *   [ Sulaiman Misri ](https://profiles.wordpress.org/sulaimanmisri/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/sm-prefetch/)