Title: Simple DNS Prefetch
Author: andrewmoof
Published: <strong>2017 年 9 月 9 日</strong>
Last modified: 2018 年 6 月 8 日

---

搜尋外掛

![](https://ps.w.org/simple-dns-prefetch/assets/banner-772x250-rtl.jpg?rev=1727211)

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

![](https://ps.w.org/simple-dns-prefetch/assets/icon-256x256.jpg?rev=1727211)

# Simple DNS Prefetch

 由 [andrewmoof](https://profiles.wordpress.org/andrewmoof/) 開發

[下載](https://downloads.wordpress.org/plugin/simple-dns-prefetch.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/simple-dns-prefetch/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/simple-dns-prefetch/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/simple-dns-prefetch/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/simple-dns-prefetch/#developers)

 [技術支援](https://wordpress.org/support/plugin/simple-dns-prefetch/)

## 外掛說明

DNS resolution time can lead to a significant amount of user perceived latency. 
The time that DNS resolution takes is highly variable. Latency delays range from
around 1ms (locally cached results) to commonly reported times of several seconds.

DNS prefetching is an attempt to resolve domain names before a user tries to follow
a link. This is done using the computer’s normal DNS resolution mechanism. Once 
a domain name has been resolved, if the user does navigate to that domain, there
will be no effective delay due to DNS resolution time. When we encounter hyperlinks
in pages, we extract the domain name from each one and resolving each domain to 
an IP address. All this work is done in parallel with the user’s reading of the 
page, using minimal CPU and network resources. When a user clicks on any of these
pre-resolved names, they will on average save about 200 milliseconds in their navigation(
assuming the user hadn’t already visited the domain recently). More importantly 
than the average savings, users won’t tend to experience the “worst case” delays
for DNS resolution, which are regularly over 1 second.

## 螢幕擷圖

[⌊Settings.⌉⌊Settings.⌉[

Settings.

[⌊Page source.⌉⌊Page source.⌉[

Page source.

## 安裝方式

 1. Upload plugin file through the WordPress interface.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Use the Settings->Simple DNS Prefetch screen to configure the plugin.

## 常見問題集

  Installation Instructions

 1. Upload plugin file through the WordPress interface.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Use the Settings->Simple DNS Prefetch screen to configure the plugin.

  How do I use the plugin?

Go to Settings » Simple DNS Prefetch and enter any domains you want to be prefetched.
Make sure the “Disable” checkbox is unchecked.

## 使用者評論

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

### 󠀁[Simple and works!](https://wordpress.org/support/topic/simple-and-works-164/)󠁿

 [WP Damon](https://profiles.wordpress.org/wpdamon/) 2019 年 5 月 16 日

After installing and adding my domains, the dns-prefetch syntax appears in the code.
Works exactly as advertised!

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

### 󠀁[Работает свое дело делает](https://wordpress.org/support/topic/%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d1%82-%d1%81%d0%b2%d0%be%d0%b5-%d0%b4%d0%b5%d0%bb%d0%be-%d0%b4%d0%b5%d0%bb%d0%b0%d0%b5%d1%82/)󠁿

 [petrozavodsky](https://profiles.wordpress.org/vovasik/) 2018 年 10 月 12 日

Хороший плагин )) работает и код на вид нормальный

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

### 󠀁[Not working….](https://wordpress.org/support/topic/not-working-2446/)󠁿

 [AlanBee](https://profiles.wordpress.org/alanbee/) 2018 年 2 月 16 日

Not working….

 [ 閱讀全部 3 則使用者評論 ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Simple DNS Prefetch〉的開發相關工作。

參與者

 *   [ andrewmoof ](https://profiles.wordpress.org/andrewmoof/)

[將〈Simple DNS Prefetch〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/simple-dns-prefetch)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/simple-dns-prefetch/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/simple-dns-prefetch/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/simple-dns-prefetch/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/simple-dns-prefetch/)。

## 變更記錄

#### 0.5.2

 * PHP Warning fix

#### 0.5.1

 * PHP Warning fix

#### 0.5.0

 * added “X-DNS-Prefetch-Control” meta-tag control

#### 0.4.2

 * code fix

#### 0.4.1

 * confirmed compatibility with WordPres 4.1

#### 0.4.0

 * minor code optimizations

#### 0.3.0

 * code fix

#### 0.2.1

 * code fix

#### 0.2.0

 * minor code optimizations, changed load behavior

#### 0.0.1

 * created
 * verified compatibility with WP 4.0

## 中繼資料

 *  版本 **0.5.2**
 *  最後更新 **8 年前**
 *  啟用安裝數 **200+**
 *  WordPress 版本需求 ** 4.1 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.9.29**
 *  語言
 * [English (US)](https://wordpress.org/plugins/simple-dns-prefetch/)
 * 標籤:
 * [dns](https://tw.wordpress.org/plugins/tags/dns/)[DNS Prefetch](https://tw.wordpress.org/plugins/tags/dns-prefetch/)
   [optimization](https://tw.wordpress.org/plugins/tags/optimization/)[prefetch](https://tw.wordpress.org/plugins/tags/prefetch/)
   [speed](https://tw.wordpress.org/plugins/tags/speed/)
 *  [進階檢視](https://tw.wordpress.org/plugins/simple-dns-prefetch/advanced/)

## 評分

 3.7 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=2)
 *  [  1 個 1 星使用者評論     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=1)

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

[查看全部使用者評論](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/)

## 參與者

 *   [ andrewmoof ](https://profiles.wordpress.org/andrewmoof/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/simple-dns-prefetch/)