From a90901c992b919338ceebe9b6b65963f3477e7fa Mon Sep 17 00:00:00 2001 From: julamb Date: Sun, 13 Aug 2023 19:16:53 +0200 Subject: [PATCH] Fix typo / mistake in Learn PWA > Service Workers On first load, the requests won't be intercepted by the PWA, and *will* go directly to your server --- src/site/content/en/learn/pwa/service-workers/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/content/en/learn/pwa/service-workers/index.md b/src/site/content/en/learn/pwa/service-workers/index.md index da7e0165a1c..f538ab3e154 100644 --- a/src/site/content/en/learn/pwa/service-workers/index.md +++ b/src/site/content/en/learn/pwa/service-workers/index.md @@ -25,7 +25,7 @@ Not all browsers support service workers. Even when present your service worker ## Registering a service worker -Before a service worker takes control of your page, it must be registered for your PWA. That means the first time a user comes to your PWA, network requests will not go directly to your server because the service worker is not yet in control of your pages. +Before a service worker takes control of your page, it must be registered for your PWA. That means the first time a user comes to your PWA, network requests will go directly to your server because the service worker is not yet in control of your pages. After checking if the browser supports the Service Worker API, your PWA can register a service worker. When loaded, the service worker sets up shop between your PWA and the network, intercepting requests and serving the corresponding responses.