Global Cache purge for R2 storage

In R2 bucket if new file is updated and user is trying to access the custom domain then how to purge cache so that enduser will get latest file from cache and not the old file?

is there anyway to purge cache automatically onces file is updated in R2? like using cloud API.