A How-To Guide to Progressive Web Apps | WillowTree
Summary
This is a huge win for web since native apps have been using push notifications for years with incredible success at increasing user engagement. The code above will initialize Workbox for us (or alert us in the console if it fails) and then cache assets it receives coming from the images directory. Before we finish, it’s important to have some automated testing in place so that the manual process of verifying the progressive web app does not have to be repeated in the future. To perform the PWA Lighthouse test, simply open up the Developer Tools on your Chrome window and visit the Audits tab. With a programmatic approach, you can run it in your automated testing solutions to ensure you are always providing a great experience to users around the world.