Caching with the API?
-
I’m fetching data through the API like this:
fetch(‘/wp-json/wordpress-popular-posts/v1/popular-posts?limit=5&range=last7days
Should the cache settings in the plugin interface on the dashboard also apply to this? Like that results should be cached for X hours etc.?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Caching with the API?’ is closed to new replies.