Re: your site benefitting from a refresh - why not force a refresh, then? The pattern most folks use to do that is to deploy something like a
version.txt file, and upon every web request, check that file, and if it has changed from last-seen, force a reload.
We don’t have any notifications for publishing right now - only deploying - so you’ll have to build your own to poll the current deploy and notice it has changed and then do the thing. It would likely be easier to instrument the publish process to include a step to harvest the new deploy ID and do whatever you need with it, than to leave this running all the time, but if you wanted to poll, the API call to check the deploy is this one:
and we return a
deploy_id in there which you’d have to check for change.
It is a good suggestion that we should have a notification on deploy published and I have added your name to the open feature request to that effect so I can let you know in this thread in case we implement it.