I’ve implemented a custom widget and am having a challenge getting them to update on my blueprint dashboard. The first time I upload an .html widget source to Files and copy the URL, all is good. However, if I upload a revised file with the same filename, the custom widget will not update. Deleting and re-uploading the file doesn’t help. It seems as if the original file is cached in some way.
The only way forward I have found is to upload a unique file name each time I have an updated widget revision and then update the widget with the file’s new URL.
What you’re seeing is expected behavior and it’s caused by caching.
When you upload an updated .html file using the same filename/URL, the Custom Widget often won’t refresh immediately because the browser keeps a cached copy of that file locally to reduce load times and resource usage. So even though the file in Files has changed, your dashboard is still loading the older cached version from your computer.
The quickest fix is to clear your browser cache and then reload the dashboard; after that, the widget should fetch the new version from the same URL.