web-worker

Force reload/prevent cache of Web Workers

I've noticed that most browsers (Chrome in particular) seem to cache web worker scripts even after you force the page to reload (SHIFT+F5, etc). The only reliable way I've found to force the cache to update is to type the worker script's path into the address bar and force reload it separately. Obviously this is a royal pain when trying...

Do web workers terminate when the user navigates to a new page (within the same application)

For example, can i offload a task and allow the user to keep surfing my site whilst the javascript runs? It seems if I navigate away from the page, the worker terminates. ...