Re:Building an Offline Page for Theguardian.com
by Grumbledour on Saturday July 25, 2020 @02:00PM
(#23951176)
Well, just goes to show you how out of date I am!
Though after reading up on it, I still don't like it much. It makes the web behave in ways I don't expect it to and I don't really see why anyone would really need this, unless they want to fundamentally change the way the web is expected to work.
[ Parent
| on HN ]
Re:Building an Offline Page for Theguardian.com
by nicoburns on Saturday July 25, 2020 @02:28PM
(#23951362)
It's main usecase is for making web apps work offline. This allows you to "install" a web app rather than a full-blown native app. If iOS supported it properly, then you could have truly cross platform, sandboxed mobile apps.
There used to be a declarative version AppCache, but in pracrice that made cache invalidation almost impossible to manage properly.
Re:Building an Offline Page for Theguardian.com
by rzzzt on Saturday July 25, 2020 @03:29PM
(#23951731)
You can check "about:serviceworkers" on Firefox, and see how many sites install a worker when visiting their page. Spoilers: a whole lot of them