kyt icon indicating copy to clipboard operation
kyt copied to clipboard

RFC: Service Workers

Open delambo opened this issue 8 years ago • 3 comments

Investigate the various webpack service worker plugins and sw-cache/toolbox and create an RFC for Service Workers in kyt.

I'm going to assign this to myself because we will need some internal work to test this against our apps, but feel free to do your own investigation and POC. I'd like a good, flexible implementation.

delambo avatar Feb 01 '17 19:02 delambo

This should help: https://github.com/jeffposnick/create-react-pwa#adding-in-a-service-worker

janhoogeveen avatar Feb 02 '17 14:02 janhoogeveen

We made a beginning on this spike in our own fork.

All static assets are cached properly. All that remains is making sure the routes themselves are cached as well, otherwise reloading while offline is still impossible.

janhoogeveen avatar Feb 02 '17 16:02 janhoogeveen

Issues found on create-react-app while integrating SW https://github.com/facebookincubator/create-react-app/issues/2554

felipesilva avatar Aug 14 '17 14:08 felipesilva