4 ms·
I'm glad it's a native feature. I attended a talk by an FT engineer and I was amazed by what's possible. Update: Mistakenly thought that FT uses Polyfill for
by ropiku 12y ago
I'm glad it's a native feature.
I attended a talk by an FT engineer and I was amazed by what's possible.
Update: Mistakenly thought that FT uses Polyfill for service workers.
- chrisrhoden 12y agoI'm not sure I understand how these are related. While what the Financial Times has done with polyfills is pretty neat, it at least does not document any of the behavior mentioned in this article. In fact, it seems very clear that they are making use of App Cache for their website, which the technology mentioned in this article effectively replaces.
- ropiku 12y agoUpdate: Sorry, I misunderstood. Polyfills emulate service workers as they were not actually implemented in any browser. So they have to fall back on App Cache. But now they can seamlessly use Chrome's native service workers while still relying on polyfills for other browsers.
- rictic 12y agoI don't see service workers here: http://cdn.polyfill.io/v1/docs/features/ http://cdn.polyfill.io/v1/docs/features/ or here https://github.com/Financial-Times/polyfill-service/tree/master/polyfills https://github.com/Financial-Times/polyfill-service/tree/mas... Emulating service worker with App Cache sounds... very hard. Do you have more info on this specifically? I've got an app that's using app cache now and I'd like to gracefully transition it to using service workers as they become available.
- ropiku 12y agoIt's possible I misunderstood it then. I was at a talk by an FT engineer. Here's his course that he referenced in his talk: https://github.com/matthew-andrews/workshop-making-it-work-offline https://github.com/matthew-andrews/workshop-making-it-work-o.... You're right that maybe he was talking about what it is possible not what they did.
- deleted 12y ago[deleted]
- untog 12y agoThey're related in the sense that service workers will replace some of the functionality that the app cache provides. The FT's work has to use hacks like iframes with app caches to gain greater control over caching - so it's not a polyfill of service workers, just a halfway ground between what app cache provides, and a small section of the functionality service workers will provide.