Title: Simple DNS Prefetch
Author: andrewmoof
Published: <strong>2017-09-09</strong>
Last modified: 2018-06-08

---

Search plugins

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

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Simple DNS Prefetch

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

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

 * [Details](https://tt.wordpress.org/plugins/simple-dns-prefetch/#description)
 * [Reviews](https://tt.wordpress.org/plugins/simple-dns-prefetch/#reviews)
 *  [Installation](https://tt.wordpress.org/plugins/simple-dns-prefetch/#installation)
 * [Development](https://tt.wordpress.org/plugins/simple-dns-prefetch/#developers)

 [Support](https://wordpress.org/support/plugin/simple-dns-prefetch/)

## Description

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.

## Screenshots

 * [[
 * Settings.
 * [[
 * Page source.

## Installation

 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.

## FAQ

  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.

## Reviews

![](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-05-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-02-16

Not working….

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/)

## Contributors & Developers

“Simple DNS Prefetch” is open source software. The following people have contributed
to this plugin.

Contributors

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

[Translate “Simple DNS Prefetch” into your language.](https://translate.wordpress.org/projects/wp-plugins/simple-dns-prefetch)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/simple-dns-prefetch/),
check out the [SVN repository](https://plugins.svn.wordpress.org/simple-dns-prefetch/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/simple-dns-prefetch/)
by [RSS](https://plugins.trac.wordpress.org/log/simple-dns-prefetch/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 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

## Meta

 *  Version **0.5.2**
 *  Last updated **8 ел ago**
 *  Active installations **200+**
 *  WordPress version ** 4.1 or higher **
 *  Tested up to **4.9.29**
 *  Language
 * [English (US)](https://wordpress.org/plugins/simple-dns-prefetch/)
 * Tags
 * [dns](https://tt.wordpress.org/plugins/tags/dns/)[DNS Prefetch](https://tt.wordpress.org/plugins/tags/dns-prefetch/)
   [optimization](https://tt.wordpress.org/plugins/tags/optimization/)[prefetch](https://tt.wordpress.org/plugins/tags/prefetch/)
   [speed](https://tt.wordpress.org/plugins/tags/speed/)
 *  [Advanced View](https://tt.wordpress.org/plugins/simple-dns-prefetch/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/simple-dns-prefetch/reviews/)

## Contributors

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

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/simple-dns-prefetch/)