這個外掛並未在最新的 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

評價

2018年6月5日
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.
2017年12月6日
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