Wednesday, December 11, 2019

Re: Execution order of cache.js versus other script tags

Usually you would use GWT's ScriptInjector together with ClientBundle + TextResource/ExternalTextResource. That way you can either embed your external JS into the GWT JS (TextResource) so it downloads as part of your app download or you let the GWT app asynchronously download the JS when needed (ExternalTextResource).

You can also use GWTs XML modules to include additional scripts which will be loaded before your entry point starts. But it could be that it won't be compatible with future GWT versions based on J2CL.

-- J.

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
To view this discussion on the web visit

No comments:

Post a Comment