I use Cloudflare Zero Trust so Cloudflare caches served files. I just had an issue following the update of a node I am developing that, following an update to the node, cloudflare did not refresh the .umd.js file for the node. I had to tell cloudflare to clear the cache for it be picked up. Reading the docs I think Cloudflare uses the caching headers to tell it when it should refresh a file, so I wonder whether we are setting the correct headers for that file.
I also had to manually clear the cache in the browser, so perhaps that is also related.
I don't know much about this subject, but a bit of googling looking at the developer tools suggests that the .umd.js file is served with no cache-control header at all. For comparison, with the old dashboard, the file app.min.js has cache-control headers public,max-age=0 which indicates that the file should not be cached.
Reading the Cloudflare docs it says that if there is no cache-control specified that Cloudflare defaults to a 2 hour expiry time, which would explain the symptom I am seeing.
I think that the umd.js file should have the same cache-control settings as app.min.js. If anyone who knows anything about this agrees that I have interpreted the situation correctly then I will raise an issue.