Site works cross-browser
— Updated
Appears in: PWA audits
To reach the most users, sites should work on every major browser.
Recommendations #
Test your site in Chrome, Edge, Firefox, and Safari, and fix any issues that appear in each browser.
If your page is a Progressive Web App, consider using Workbox, a high-level service worker toolkit. 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:
- The
workbox-broadcast-cache-update
module uses the Broadcast Channel API if possible and falls back to apostMessage()
implementation. - The
workbox-background-sync
module uses the Background Sync API if possible and falls back to retrying queued events each time the service worker starts up.
Learn more in Workbox: your high-level service worker toolkit.
Resources #
Source code for Site works cross-browser audit
Last updated: — Improve article