Thanks Andy! This is old but it’s been a big learning curve for me—including Webpack bundling—and I’m just now getting a handle on some of this (as I get time apart from normal daily work).
The native fetch works well. Thanks for that.
I couldn’t figure out Etags or the esri/request stuff. But the cacheBust seemed to be fixed with Webpack bundling. I have the output set to '[name].[contenthash].bundle.js' which looks like it gives a new alphanumeric id to the file name. That should force a cachebust.
The ‘remove’ also seems to work for onclick listening.
Thanks again for the directions to look.