Enabling caching for the WP REST API
REST API requests are not cached by default, but you can enable it with the following helper plugin.
How to use the helper plugin
- Download the helper plugin zip file
- Install the helper plugin on your site - go to Plugins → Add New → Upload plugin and select the zip file.
- Activate the plugin