Greetings!
We’re using Workers Sites for hosting simple status page with announcements regarding system availability while performing maintenance. We’re probably better off with specialized SaaS solution but for now WS seems like a perfect match.
I noticed somewhat surprising behavior after publishing new version of the site—when I did wrangler publish
as always and hit refresh in the browser I’ve got a ‘Resource with key <…> is unavailable’ error message instead of index page.
What I think is happening is that worker script itself is not changed when we only tweak static html content. So the script remains the same and don’t get updated, but KV objects are—and due to the fact that WS stores it with some kind of hash in the name means that they will not be available until they propagate fully.
Is there a recommended way to work around that so there is no downtime upon publish?