July 2018
Intermediate to advanced
354 pages
8h 51m
English
At this point in this book, it should be obvious how a good service worker pre-caching strategy applies to the PRPL pre-caching point, but it never hurts to review the concept.
The second P in PRPL stands for pre-caching common routes. This includes the HTML and their supporting files such as styles, images, and scripts. This is exactly how your service worker's pre-cache strategy should be designed.
Important assets are commonly visited pages, but can also be the markup templates required to render the pages in the service worker. The common styles, scripts, images, and other support assets should be pre-cached.
Read now
Unlock full access