3 ms·
Service worker is a whole pattern to give PWA's offline access, ie. intercepting network requests and caching. Async runs on the main thread. If you want to o
by houseatrielah 3y ago
Service worker is a whole pattern to give PWA's offline access, ie. intercepting network requests and caching. Async runs on the main thread. If you want to offload work to another thread you use a webworker.