Use server side permutation selection

By selecting the GWT permutation on the server side, we can avoid
an HTTP request for the gerrit.nocache.js file, avoid downloading
5100+ bytes worth of uncompressed JavaScript, and instead can add
only about 519 bytes to our compressed host page.

Startup feels faster in most browsers, due to the iframe being
able to be prepared more quickly, and the stylesheet loading in
parallel to other page assets like the header/footer.

Change-Id: Ia91504706b910d3ba6b7b92396c4f0ce89ca1968
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-12-30 15:31:06 -08:00
parent afdba93915
commit 788de3cc38
3 changed files with 74 additions and 44 deletions

View File

@@ -20,6 +20,7 @@
<inherits name='com.google.gwtexpui.clippy.Clippy'/>
<inherits name='com.google.gwtexpui.css.CSS'/>
<inherits name='com.google.gwtexpui.globalkey.GlobalKey'/>
<inherits name='com.google.gwtexpui.linker.ServerPlannedIFrameLinker'/>
<inherits name='com.google.gwtexpui.progress.Progress'/>
<inherits name='com.google.gwtexpui.safehtml.SafeHtml'/>
<inherits name='com.google.gwtexpui.safehtml.PrettyFormatter'/>