Pixel Art and the Hardcopy
twitter.com
twitter.com
A great site for news of pixel perfect sites was k10k.
Though I couldn't find a reference I remember them featured in MoMA around 2010.
From what I've observed through use (without any form of reverse engineering), it looks like Twitter uses them to reduce the bandwidth for individual page views after the first.
One nice feature is purging no-longer needed cache entries for an old version of the site (Example old JS and CSS). Of course there is no reason this couldn't be done in the page context itself.
The other feature that service workers are for is receiving push notifications. Although they don't need to be in the way of HTTP requests for that.
So they really just allow adopting features faster then HTTP caching is updating by browsers. However they are a huge footgun if you ship a broken service worker. (You need to wait >24h for all of your users to update to a fixed version).
Unfortunately if you want to be eligible for "Add to homescreen" you need one, which is a shame because this is just for offline support, which would be easy to add with a cache header.
Firefox Requirements: https://web.dev/install-criteria/#criteria
Chrome Requirements: https://developer.mozilla.org/en-US/docs/Web/Progressive_web...