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)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 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://tw.wordpress.org/plugins/sm-prefetch/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/sm-prefetch/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/sm-prefetch/#installation)
 * [開發資訊](https://tw.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 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.1.10**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/sm-prefetch/)
 * 標籤:
 * [prefetch](https://tw.wordpress.org/plugins/tags/prefetch/)[speed optimization](https://tw.wordpress.org/plugins/tags/speed-optimization/)
 *  [進階檢視](https://tw.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/)