PWA Cross Browser

Websites should be able to work on all browsers in order to be visited by as many users as possible.

PWA

Make sites work on every browser

Websites should be able to work on all browsers (or at least on the main ones) in order to be visited by as many users as possible.

It is therefore important to always test them, especially on browsers such as Chrome, Firefox and Safari, to avoid late errors.

If your website is a PWA (Progressive Web App) you could use a service worker tool such as Workbox.

Whenever possible, Workbox is able to automatically fall back on alternative implementations of features that are not present in certain browsers:

  • When possible, the workbox-broadcast-cache-update module uses the Broadcast Channel API and falls back to a postMessage() implementation.
  • When possible, the workbox-background-sync module uses the Background Sync API and retries the queued events each time the service worker starts.

Share this Guide

Did you like it? Share it!

Share this tool

Web tools for modern developers. Try these one!

Over 50 generators, builders and validators to improve your SEO and web performances

Home Back to top of the page