I went through couple of articles that talk about Web Workers in HTML5 and I was not able to clearly understand the following:
- Is the life cycle for a web worker limited to a single page or across pages of an domain?
- Is the life cycle for a web worker persistant after a page is loaded?
- Are web workers a better option to using than an ajax call within setInterval?
Appreciate if someone could help me shed some light on the above questions.
1 Answer