The JavaScript Packaging Problem
jamie-wong.com
jamie-wong.com
http://www.gwtproject.org/doc/latest/DevGuideCodeSplitting.h...
Step 1: GWT will compile + package everything into one big giant JS and one big giant image file (CSS sprites is automagic in GWT via Java interface with annotation, no longer one needs to download bajillion tools to stich the images and write bajillion CSS coordinates to access the icons).
Step 2: Follow code splitting guide to asynchronously load your code :)
http://blogs.mpr.org/developer/2014/01/dynamically-loading-a...