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

WPRestCache

外掛說明

WordPress plugin that provides an infinite cache in front of a REST API. This would be useful for sites that are static in nature and seldom updates, as polling the native REST API in WordPress can be somewhat slow.

From within the plugin, there is an option to deploy a cache in front of a REST API. When you deploy it, be warned that the folder “rest-api” will be created in the root of your webserver.

You can then request the REST-API like this:

http://www.example.com/rest-api/v1/posts?page=1&per_page=12&search=query&tags=tag1+tag2 http://www.example.com/rest-api/v1/tag/?_jsonp=angular.callbacks._1&tag_name=tag1 

Since these requests are infinitely cached, you can schedule an optional wipe of the cache which will occur 5 minutes after last post alteration.

安裝方式

  1. Download to your WordPress plugin folder and unzip.
  2. Activate plugin.
  3. Deploy the cache, and change the settings in the control panel to your liking.

常見問題集

Do I use this at my own risk?

Yes.

使用者評論

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

參與者及開發者

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

參與者

將〈WPRestCache〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.0

  • Uploaded plugin.