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

Rest Manager

Описание

Speed up wordpress rest api by filter loaded plugin for every route.
On each rest api request wordpress load every plugins, this is a bottleneck and the rest api slow down.
This plugin install a must use plugin for filter plugins before load to set only desired plugins load by route.
The must use plugin is uninstall on desactivate the rest-manager plugin.

Features:

  • Disbale selected rest route.
  • Filter plugins load by rest route.

Скриншоты

  • Settings Page.
  • Rest route filter plugin.

Установка

  1. Upload the plugin files to the /wp-content/plugins/rest-manager directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Rest Manager screen to configure the plugin

Часто задаваемые вопросы

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/rest-manager directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Rest Manager screen to configure the plugin

Отзывы

05.06.2018
Recently I have a project using WordPress rest api with custom endpoint. 2xxms to 700ms from my registered custom endpoint. After search in Google, it due to everytime WordPress will load all plugin. When I ready to alter my code with only load wp core. I found this plugin. It is useful to speed up rest api call and without recode any my existing project. Since my registered restapi a independent without any plugin. Now speed up to 50-100ms after using this plugin. Happy coding.
06.12.2017
I recently re-coded a custom comments plugin to work with the WP REST API instead of using admin-ajax.php. This made retrieval of comments much faster, but seemed to have little effect on the speed of posting of comments. Then I came across this plugin. I used it to limit the plugins that fired when posting a comment, and I timed the difference using the REST API Log plugin. I found that the time to post a comment fell from between 120ms and 250ms to always being less than 40ms. That's a huge improvement! Thanks very much for this impressive plugin!
Посмотреть все 2 отзыва

Участники и разработчики

«Rest Manager» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

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

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

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

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

1.0.7

  • Fix default active «on» route option if route not exist in «rest-manager_routes» wp options.
    On install new plugin with new routes the route option is not correctly set to default.

1.0.6

  • Change settings column name from Select to Active

1.0.5

  • Fix load settings fields for route fields
  • On filter route force to load rest-manager if route is filtered and if not active.

1.0.4

  • Add remove old deprecated mu-plugin.

1.0.3

  • Update Readme
  • Fix version

1.0.2

  • Fix mu plugin name
  • Fix pluggable function not exist.
  • Add delete option on uninstall plugin