It you be great if you can share your solution.

Le lundi 7 août 2017 16:21:19 UTC+2, Gernot Pansy a écrit :
>
> 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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to