Enable caching for the WP REST API
REST API requests are not cached by default, but you can enable it with the following helper plugin.
📥 Download (.zip): WP Rocket | Cache WP Rest API
Developers: You can find the code for this plugin on GitHub.
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