New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From AppCache to Service Workers #207
Comments
@Voles Good point. We would like it very much if you work on the Offline-First section. Perhaps also mention https://github.com/broerse/ember-cli-blog/blob/master/ember-cli-build.js#L14 We are working hard to get v5.0.0 out of Beta so this is the right time to improve the readme. |
@broerse I was a little too quick here. It looks like iOS 11.x does not yet support SW. References: I don't think we should encourage users migrating to SW while support is not (yet) broadly covered. Let's keep an eye on the iOS 12 release to see if we can move this forward by then. |
Hey I am new to Opensource having some experience about serviceworkers ,can I help? |
@BlackTrident Help is always welcome. I agree with @Voles that pushing people to SW while safari is not ready yet perhaps we should not encourage it in this module now. @jkleinsc what do you think. Should we encourage SW here now? |
I think SW should be encouraged. Safari has service workers available in their technology preview (eg see https://webkit.org/blog/8060/release-notes-for-safari-technology-preview-47/). We could still leave in the section about appcache with something like "if you need to support browsers that currently don't have service workers available, you can use Application Cache via broccoli-manifest as a fallback." |
@jkleinsc @broerse while it is indeed available in Safari TP, I expect it only to be available on iOS in September (when I expect them to release iOS 12). What about I update that section and mention both scenarios? We could recommend AppCache for now but also mention SW and the fact that it currently does not yet work on Safari for iOS? @jkleinsc thanks for that link to Safari TP! Do you know more about the iOS releases and if SW might land sooner? |
I would like that. |
@Voles I don't have any more information about when it will land in iOS. |
I've updated the Offline First instructions based on what we discussed here. See #209. @BlackTrident @broerse @jkleinsc feedback is very much welcome! |
@Voles Just merged this. Thanks! @BlackTrident if you want to add or change something please make a new PR. We are always open for suggestions. If you need help with that, because you say you are new to Opensource, please let me know. |
@broerse thanks for your quick action! |
At the moment we're suggesting users to use broccoli-manifest to setup an Offline First app using Ember Pouch.
But the application cache has been removed from the Web standards. I have been using Ember Service Worker instead and it seems to be the way to go for future-proof-offline-first-web-apps.
Would the team be interested if I'd update the Offline-First section using Ember Service Worker?
Btw, thanks for everyone's work on this extremely useful plugin 👏 🌻
The text was updated successfully, but these errors were encountered: