Skip to content

Commit 54da292

Browse files
Rutam21LekoArts
andauthored
chore(docs): Improve "Adding a service worker" (#33737)
Co-authored-by: Lennart <[email protected]>
1 parent e1ceac4 commit 54da292

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/docs/add-a-service-worker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
title: Adding a Service Worker
33
---
44

5-
## What is a service worker
5+
## What is a service worker?
66

7-
A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don't need a web page or user interaction. They increase your site availability in spotty connections, and are essential to making a nice user experience.
7+
A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don't need a web page or user interaction. They increase your site availability in spotty connections and are essential to making a nice user experience.
88

99
It supports features like push notifications and background sync.
1010

1111
## Using service workers in Gatsby with `gatsby-plugin-offline`
1212

13-
Gatsby provides awesome plugin interface to create and load a service worker into your site [gatsby-plugin-offline](https://www.npmjs.com/package/gatsby-plugin-offline).
13+
Gatsby provides an awesome plugin interface to create and load a service worker into your site: [gatsby-plugin-offline](https://www.npmjs.com/package/gatsby-plugin-offline).
1414

1515
You can use this plugin together with the [manifest plugin](https://www.npmjs.com/package/gatsby-plugin-manifest). (Don’t forget to list the offline plugin after the manifest plugin so that the manifest file can be included in the service worker).
1616

0 commit comments

Comments
 (0)