Chrome not loading latest version of web worker script (runs a cached version)
On my Linux Chrome I have to right click (or long click) the reload button and select "Empty Cache and Hard Reload" to get the latest version
Your web server determines how cachable a given web resource is and the browser attempts to respect those settings, caching resources that the web server says it is OK to cache, not caching things it says shouldn't be cached.
If you want to change that, you have these options:
- Clear the browser cache manually
- Temporarily turn off browser caching.
- Temporarily change the settings on your web server to instruct the browser not to cache
- Override the cache for just this one web page (shift-F5 in some browsers) to force a reload of new content
- Add a query parameter to the URL of the web worker script that you change each time you want it to load a new version.