Chapter 10. Streaming data

In part 5 of this book, we’ll focus our attention on the future of Progressive Web Apps (PWAs) and the many great features that are coming soon to a browser near you. In this chapter, we’ll look at a useful feature called the Web Streams API, which lets you stream content to your users.

We’ll dive into what web streams are and how to use them and go through some practical examples that you can apply to your PWAs today. You’ll start off by building a basic example using the Fetch API and then graduate to using the Web Streams API within a Service Worker to supercharge the load times of your web pages. If you think your web pages are fast after the earlier chapters, just wait and see how fast they can become.

10.1. ...

Get Progressive Web Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.