What if we had a local server running on the same PC, which then relays the request to some shared server on the internet?
That's what a background worker is: a local server managed by the browser and only accessible to pages of the origin domain.
That's what a background worker is: a local server managed by the browser and only accessible to pages of the origin domain.