It would be really nice if you share details or even code of your implementation.
On Monday, August 7, 2017 at 7:21:19 AM UTC-7, Gernot Pansy wrote: > > I got it myself working, with a extended Linker and the using of > XhrFragementLoader. > > On Friday, August 4, 2017 at 12:00:55 AM UTC+2, Gernot Pansy wrote: >> >> Hi, >> >> I wan't to convert my GWT (2.8.1) application to an progressive web app >> and add code splitting. I already build a custom Linker which creates a >> service worker file automatically and the caching is working except of the >> deferred fragemnts. >> My service worker is not called if the are loaded, it seems they are >> loaded outside of the scope. >> >> The same happens in this demo: >> http://www.g-widgets.com/2016/08/11/progressive-web-apps-recipes-for-gwt/ >> >> If you look in the chrome console, all request are loaded trough the >> service worker but not the fragments (only once in install phase, because >> the are all files cached). >> >> Seems that this is the relevant code: >> https://github.com/gwtproject/gwt/blob/master/dev/core/src/com/google/gwt/core/ext/linker/impl/runAsync.js >> Here is still the old language property used on the script tag. >> >> Has anyone an idea how to fix that? >> >> cheers, >> gernot >> > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
