Serviceworkers are not supported in all browsers or on all devices. Investigate what proportion of our traffic from the target countries is on browsers that support this.
From https://jakearchibald.github.io/isserviceworkerready/ I see Chrome 40+, Firefox 44+, Opera 27+, Samsung Browser 4+, and Edge is in development.
That data should be correlated with something like the browser/os usage dashboard from analytics, but filtered by country. The dashboard doesn't show any way to filter by country/area so we may need to ping analytics for this cc/ @atgo
Here is a list of compatible UAs on mobile platforms:
- Android browser v53 (latest)
- Samsung Internet
- Opera mini
- UC browser for Android
None supported (all based on Safari)
See also http://caniuse.com/#feat=serviceworkers for the general support status.
As @Jhernandez said, we'll probably need help from analytics to correlate this with browser market share per country.
We measured this a while back in November 2015 and it was 30% on our entire traffic.
We no longer have that data anymore to run geographical analysis.
I suspect now it is around 50% of all our traffic given the adoption by Firefox and upgrades on Chrome.
That said, the browser share is only going to increase, service workers will degrade gracefully (so experiences will never be broken) and where support is lacking it can be detected and resolved socially by encouraging the download of browsers where it is not available. e.g. Hey there! Want to be able to take this content offline?
What is the goal of knowing this number? It's not clear from this task, but it's never going to be 100%. Locations where UC browser and Opera Mini will be less supported.