W

Web Worker

A Web Worker is a script that runs in the background in a browser, on a separate thread from the main UI thread. This allows you to perform computationally intensive tasks without freezing or blocking the user interface. Offloading heavy JavaScript processing to a worker is a key strategy for improving responsiveness and achieving a good INP score. The Service Worker is a special type of worker with additional capabilities, like intercepting network requests.

All terms
Fabian Krumbholz
Fabian Krumbholz
April 8, 20261 min read

Related web performance terms

How fast is your website?