Thursday, August 10, 2017

Re: Progressive Web App with Caching and Code Splitting

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.


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).

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+unsubscribe@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.

No comments:

Post a Comment