Remove caching from wp_remote_get calls from custom plugin
If you want to make sure the data bypasses any front-end caching, you should use AJAX to request the data and print it on the page. What I’d suggest is keeping your shortcode, but using AJAX to update it but creating a REST API endpoint. To do this you would abstract away the API request … Read more