manifest / performance / wp-rest-api-object-cache
REST API Object Cache archived
Enable object caching for WordPress' REST API. Aids in increased response times of your applications endpoints.
by Austin Passy · github.com/dwnload/wp-rest-api-object-cache · website
★ 23stars
719composer installs
2forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dwnload/wp-rest-api-object-cache/archive/refs/heads/master.zipAlso on Packagist as dwnload/wp-rest-api-object-cache:
composer require dwnload/wp-rest-api-object-cacheFrom the readme
WordPress REST API Object Cache
Enable object caching for WordPress' REST API. Aids in increased response times of your applications endpoints.
Package Installation (via Composer)
To install this package, edit your composer.json file:
Now run:
$ composer install dwnload/wp-rest-api-object-cache
- Actions
- How to use actions
- Filters
- How to use filters
Actions
| Action | Argument(s) |
|-----------|-----------|
| Dwnload\WpRestApi\RestApi\RestDispatch::ACTIONCACHESKIPPED | mixed $resultWPRESTServer $serverWPRESTRequest $request |
| Dwnload\WpRestApi\WpAdmin\Admin::ACTIONREQUESTFLUSHCACHE | string $messagestring $typeWPUser $user |
How to use actions
Filters
| Filter | Argument(s) |
|-----------|-----------|
| Dwnload\WpRestApi\RestApi\RestDispatch::FILTERCACHEHEADERS | array $headersstring $requesturiWPRESTServer $serverWPRESTRequest $requestWPRESTResponse $response (restpredispatch only) |
| Dwnload\WpRestApi\RestApi\RestDispatch::FILTERCACHESKIP | boolean $skip ( default: WPDEBUG )string $requesturiWPRESTServer $serverWPRESTRequest $request |
| Dwnload\WpRestApi\RestApi\RestDispatch::FILTERAPIKEY | string $requesturiWPRESTServer $serverWPRESTRequest $request |
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 1.4 | Apr 17, 2019 |
| 1.3.1 | Feb 7, 2019 |
| 1.3 | Jul 30, 2018 |
| 1.2.3 | May 30, 2018 |
| 1.2.2 | May 14, 2018 |
| 1.2.1 | Apr 30, 2018 |
| 1.2.0 | Apr 26, 2018 |
| 1.1.1 | Apr 23, 2018 |
| 1.0.4 | Apr 19, 2018 |
| 1.0.3 | Apr 19, 2018 |
| 1.0.2 | Apr 18, 2018 |
| 0.2 | Apr 18, 2018 |
| 0.2.1 | Apr 18, 2018 |
| 1.0.1 | Apr 18, 2018 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.