Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit 7cb2ea2

Browse files
authored
Fix name of strategy (#6655)
Fix name of strategy and provide a link to readers for more information.
1 parent 96d3120 commit 7cb2ea2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • site/en/docs/workbox/handling-service-worker-updates

site/en/docs/workbox/handling-service-worker-updates/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ This isn't a pattern every application that deploys a service worker needs to fo
9696
- You use precaching extensively. Where static assets are concerned, you can have issues later on if you use a network-first or network-only strategy for navigation requests, but lazy-load static assets. This can cause situations where versioned assets may change, and a service worker hasn't precached them. Offering a reload button here may avoid some unexpected behaviors.
9797
- If you're serving precached HTML. In this case, you should _strongly_ consider offering a reload button on service worker updates, since updates to that HTML won't be recognized until the updated service worker takes control.
9898
- If you don't rely mostly on runtime caching. When caching resources at runtime, you don't need to let the user know they should reload. As versioned assets change, they will be added to the runtime cache in due course—assuming navigation requests use a network-first or network-only strategy.
99-
- When using a stale-while-revidate strategy, you might consider using the [`workbox-broadcast-update` module](/docs/workbox/modules/workbox-broadcast-update/) to notify users of service worker updates.
99+
- When using a [stale-while-revalidate](https://web.dev/offline-cookbook/#stale-while-revalidate) strategy, you might consider using the [`workbox-broadcast-update` module](/docs/workbox/modules/workbox-broadcast-update/) to notify users of service worker updates.
100100

101101
Whether you need to notify the user of updates to a service worker depends on your application, and its unique requirements. If you find that your users are experiencing strange behaviors when you push out a new service worker, that's probably your best signal that you should notify them.

0 commit comments

Comments
 (0)