Title: DNS Prefetch
Author: jp2112
Published: <strong>2014 年 4 月 19 日</strong>
Last modified: 2015 年 1 月 20 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/dns-prefetch.svg)

# DNS Prefetch

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

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

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

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

## 外掛說明

This plugin implements DNS prefetching per the Mozilla specification for the Firefox
browser. Hopefully, other browsers will eventually support DNS prefetching.

See https://developer.mozilla.org/en-US/docs/Controlling_DNS_prefetching for more
detail.

Disclaimer: This plugin is not affiliated with or endorsed by Mozilla.

### If you need help with this plugin

If this plugin breaks your site or just flat out does not work, create a thread 
in the [Support](https://wordpress.org/support/plugin/dns-prefetch) forum with a
description of the issue. Make sure you are using the latest version of WordPress
and the plugin before reporting issues, to be sure that the issue is with the current
version and not with an older version where the issue may have already been fixed.

**Please do not use the [Reviews](https://wordpress.org/support/view/plugin-reviews/dns-prefetch)
section to report issues or request new features.**

## 螢幕擷圖

[⌊Plugin settings page (note the URLs entered)⌉⌊Plugin settings page (note the URLs
entered)⌉[

Plugin settings page (note the URLs entered)

[⌊HTML source of a webpage (the URLs above are added to the HTML source)⌉⌊HTML source
of a webpage (the URLs above are added to the HTML source)⌉[

HTML source of a webpage (the URLs above are added to the HTML source)

## 安裝方式

 1. Upload plugin file through the WordPress interface.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to Settings » DNS Prefetch, configure plugin.
 4. View any of your pages, they should contain the following meta tag:

In addition, if you configured any additional domains, they should also be listed
after the line of code above.

## 常見問題集

  How do I use the plugin?

Go to Settings » DNS Prefetch and enter any domains you want to be prefetched by
Firefox browsers, in addition to the ones already linked on your home page. Make
sure the “enabled” checkbox is checked.

For example, you might have www.example.com linked on one of your subpages. By adding“//
www.example.com” you instruct browsers to resolve the DNS for that domain, decreasing
the latency should someone with a Firefox browser visit that page.

  I entered some text but don’t see anything on the page.

Are you caching your pages?

  I don’t want the admin CSS. How do I remove it?

Add this to your functions.php:

    ```
    remove_action('admin_head', 'insert_dpf_admin_css');
    ```

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

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

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

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

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

## 變更記錄

#### 0.1.0

 * confirmed compatibility with WordPres 4.1

#### 0.0.9

 * updated .pot file and readme

#### 0.0.8

 * minor code optimizations
 * fixed validation issue

#### 0.0.7

 * permanent fix for Undefined Index issue
 * admin CSS and page updates

#### 0.0.6

 * code fix

#### 0.0.5

 * code fix
 * updated support tab

#### 0.0.4

 * minor code optimizations
 * changed load behavior thanks to https://wordpress.org/support/topic/load-using-
   wp_head-with-highest-priority

#### 0.0.3

 * fix 2 for wp_kses

#### 0.0.2

 * fix for wp_kses

#### 0.0.1

 * created
 * verified compatibility with WP 3.9

## 中繼資料

 *  版本 **0.1.0**
 *  最後更新 **12 年前**
 *  啟用安裝數 **60+**
 *  WordPress 版本需求 ** 4.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.1.42**
 *  語言
 * [English (US)](https://wordpress.org/plugins/dns-prefetch/)
 * 標籤:
 * [dns](https://tw.wordpress.org/plugins/tags/dns/)[optimization](https://tw.wordpress.org/plugins/tags/optimization/)
   [prefetch](https://tw.wordpress.org/plugins/tags/prefetch/)
 *  [進階檢視](https://tw.wordpress.org/plugins/dns-prefetch/advanced/)

## 評分

 4.7 星，滿分為 5 星

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

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

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

## 參與者

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

## 技術支援

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

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

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7EX9NB9TLFHVW)