I've been playing around with code splitting and everything is setup fairly well (or at least I think so), but as far as I can tell it appears to be very subtlety misbehaving. My first test was to implement an advanced control panel with several large icons and lots of html, css and special new widgets I wrote (this seemed to be a good use case). The HTML and css was largely written in a UiTemplate.
In addition to the specialised resource I have several common widgets and resource bundles I use across my little application for common image sprites, gui elements, ect. According to the compile reports these common components and some standard gwt classes are being loaded into both my original payload and the code split. The fact that I am downloading 35kb for a few widgets seems to corroborate this. I can understand - to an extent - why the common resource bundles might be loaded in twice, but it seems completely bizzar that the gwt compiler cannot omit widgets that are already loaded from the code split. Could I possibly be doing something wrong? Should I split these common widgets off into a common widget async loader? I followed the Async Provider example very closely in my implementation and everything else seems fine. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
