We use the WP REST API to read and update data to our React App. How can we apply a filter to purge the cache when we UPDATE or POST to a post ID (CPT)?
The problem right now is when we later ask for that endpoint the old data is cached by Redis.
We’ve just added /wp-json/* to the “Custom Purge URL” field in nginx-helper. But I don’t know if that will really help.