You are approaching the problem of the blind. PageSpeed, as tools, most often helps with runtime performance.
1) You must enable the reporting function of the GWT compiler. Analyze the reports to get an idea of ββwhat's up to a maximum of 2 MB in your application. In the GWT Maven Plugin
<compileReport>true</compileReport> <compilerMetrics>true</compilerMetrics> <soycDetailed>true</soycDetailed>
2) You must include the GWT compiler flags one after the other in assemblies in order to understand how much they affect. In the GWT Maven Plugin
<disableCastChecking>true</disableCastChecking> <disableClassMetadata>true</disableClassMetadata> <optimizationLevel>9</optimizationLevel>
3) Performance optimization advice according to Google IO 2011 in the .gwt.xml file .
<set-configuration-property name="compiler.enum.obfuscate.names" value="true" />
4) Change the GWT exception stop code in prod mode in the .gwt.xml file .
<set-property name="compiler.stackMode" value="strip" />
5) You must enable the GWT compiler flag to close. In the GWT Maven Plugin
<enableClosureCompiler>true</enableClosureCompiler>
6) Also, if you use RPC, pay attention to the method signatures. Avoid interfaces and abstract classes such as List, Map, Model in rpc arguments and return types. They help reduce rpc in your application.
Finally
The decision on the set of codes should be made based on the analysis of the GWT compiler report. GZIP compression helps to reduce bandwidth, but at the same time increases the cost of your browser and server overhead.
source share