Code Splitting in GWT

A pain point for Google web applications is the time required to download the JavaScript code that supports them. Web pages do not become interactive until the supporting JavaScript code has downloaded and been parsed. Moreover, the amount of JavaScript code trends upward over the lifespan of an app, because developers add more features and those features require more code to support.

To address this, I extended the Google Web Toolkit to support code splitting. Some notable aspects of the project:

The GWT code splitter is used by Google Adwords and Google Wallet, among many other web applications.

See the GWT code splitter documentation for more information.


Lex Spoon