GWT Deferred Binding for loading only required classes in catch
We have product, whose front end is in GWT. As it contains many classes (Aroun开发者_如何学God 150 menus, you can imagine now)
When user access this first time, it takes time to load. (If bandwidth is low then this increases)
Next time onwards it remains in catch, we don't have to worry about bandwidth.
Can I reduce this first time loading time by using GWT deferred binding ?
Yes, initial load time can usually be reduced by a lot. You probably want to look into Code Splitting.
You'll have to make a decision, which parts you need initially, and which parts can be loaded later (and when). Then make absolutely sure, that you don't accidentally use those later parts from your initial code fragment - except from inside GWT.runAsync
.
精彩评论