To reach the most number of users, sites should work across every major browser. Test your site in Chrome, Edge, Firefox and Safari; fix issues that occur when running the app cross-browser.
Consider using Workbox to manage site's offline reliability. Workbox is high-level service worker toolkit built on top Workbox is developed against a cross-browser test suite, and when possible, automatically falls back to alternative implementations of features that are missing from certain browsers.
workbox-broadcast-cache-updatemodule uses the Broadcast Channel API when available, and falls back to a
postMessage()implementation on browsers that lack support.
workbox-background-syncmodule uses the Background Sync API if possible, and if not, falls back to retrying queued events each time the service worker starts up.
Learn more in Workbox your high-level service worker toolkit.
Each PWA audit is weighted equally in the Lighthouse PWA Score, with the exception of three manual audits: Site works cross-browser, Page transitions don't feel like they block on the network, Each page has a URL. Learn more in The Progressive Web App score.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.