Skip to content
Learn Measure Blog Case studies About
On this page
  • Recommendations
  • Resources

Site works cross-browser

May 4, 2019 — Updated Sep 19, 2019
Appears in: PWA audits
On this page
  • Recommendations
  • Resources

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 a postMessage() 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.

In the Lighthouse report UI the full PWA badge is given when you pass all of the audits in all of the PWA subcategories (Fast and reliable, Installable, and PWA optimized).

Resources #

Source code for Site works cross-browser audit

Last updated: Sep 19, 2019 — Improve article
Return to all articles
Share
subscribe

Contribute

  • File a bug
  • View source

Related content

  • developer.chrome.com
  • Chrome updates
  • Web Fundamentals
  • Case studies
  • Podcasts
  • Shows

Connect

  • Twitter
  • YouTube
  • Google Developers
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms & Privacy
  • Community Guidelines

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.