
Browser
How to Offload Work to a Web Worker
Offload work to a web worker to keep the page responsive: postMessage, module workers, transferables, Comlink-style RPC, error handling, pools and limits.
8 min read
Tag
2 posts

Offload work to a web worker to keep the page responsive: postMessage, module workers, transferables, Comlink-style RPC, error handling, pools and limits.

How the Speculation Rules API prefetches and prerenders likely next pages with JSON rules: eagerness levels, document rules, safety limits and measuring.