4 ms·
With the new APIs, you should be able to have 4 web workers do the downloads in parallel still. (Based on how chrome handles such things)
by Shebanator 11y ago
With the new APIs, you should be able to have 4 web workers do the downloads in parallel still. (Based on how chrome handles such things)
- geofft 11y agoBrowsers tend to have a fairly low cap on simultaneous connections to the same server. Seems to be 6 these days in Chrome or Firefox; I remember 2 from a few years ago. I'm sorta curious if DownThemAll is using XPCOM to get around any similar good-netizen limits in Firefox.
- throwaway2048 11y agoweb workers don't have anything except message passing ability to the main js thread, they cant open sockets, and they can modify the dom, they are nearly worthless.
- Shebanator 11y agoMy understanding is that you can use WebSockets within a web worker. But I haven't done it myself, so that could be wrong. In any event, the service worker specs are all still evolving, and I expect that as people try to build more sophisticated extensions on top of these APIs, they will mature to allow more sophisticated behavior.