java - How to decrease initial load time in Gwt multiple entry point project app -
i using java google web toolkit. problem when client uses our app, 1.1 mb downloaded , takes time load initially.
does know how can decrease initial load time in our gwt multiple entry point project app?
the official docs came bullet points
- enable compression
- remove unused css
- minify javascript
- minify css
- minify html
- defer loading of javascript
- optimize images
- serve scaled images
- serve resources consistent url.
apart , next immediate step can code splitting..
as can reduce load in onmoduleload()
,that's helps bring app client faster.
and compile time reports helps digging object.
on top of these,you able enable gzip server,which compresses data in gzip format client
.
more on standard java coding techniques(respective gwt) while coding.
use arraylists
instead of lists
, hashmap's
instead of map's
gwt compiler not need compile code possible implementations of list
,map's etc.
use stringbuilder's
instead of string's.
..etc
and more techniques here google i/o presentation ray rayan.
Comments
Post a Comment