Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

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 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 section to report issues or request new features.

Скриншоты

  • Plugin settings page (note the URLs entered)
  • 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» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «DNS Prefetch» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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