Hi Richard, in our case we needed to clear the cache **only** for the specific posts being updated, for our custom endpoints that was not being cleared by the current version of the plugin.
So we can do this:
$caching = \WP_Rest_Cache_Plugin\Includes\Caching\Caching::get_instance();
$a_cacheKeys = hm_getPostCacheKeys($postID, $postCacheType);
foreach ( $a_cacheKeys as $key ) {
$ret = $caching->delete_cache($key);
}
Cheers!