Errata: October 22, 2018The last sentence before section 1.2.1 is missing the word see.
Once you get into the swing of building Progressive Web Apps, you'll see how easy it is.
The last sentence before lising 1.1 repeats the word in and listing.
To register it, use the code
in the next listing in your HTML web page.
In addition, the title has a typo:
A basic HTML web page
The first sentence following figure 3.3 uses the wrong form of work.
Using this figure as an example, let's see
a basic caching example in order to get a better understanding about how this works in reality.
In listing 3.1 the if statement is on the same line as the comment. It should be:
// Register the service worker
if ('serviceWorker' in navigator) {
The first sentence in the first sentence should be:
If the response was successful, you've cloned the response again.