It is mainly for production, I was just saying that it didn't break the dev mode. I
should still test it on various browsers as Charles mentioned.
btw. the "[2]"
wasn't the change itself. It is just the if/else tree used for the split points.
jk
----- Original Message -----
From: "John Mazzitelli" <mazz(a)redhat.com>
To: rhq-devel(a)lists.fedorahosted.org
Sent: Monday, April 15, 2013 3:36:37 PM
Subject: Re: Using GWT code splitting in RHQ
This would be AWESOME if you get this working and into master. Does this only
work for dev mode or is this for production? This would help our startup
time since it wouldn't require a full load.
nice job.
----- Original Message -----
> Hi,
> the size of generated JavaScript is pretty large. Using the unobfuscated
> code (<gwt.style>PRETTY</gwt.style>) the size of the largest file is
2.8
> MB. This file is downloaded immediately after successful login.
>
> I was playing with the GWT code splitting [1] feature and split the coregui
> into 9 smaller pieces (more or less according to the top menu in the app).
> After this change, the largest chunk of JavaScript code is now 740 kB large
> (~ 1/4 of the original size, again unobfuscated). The files with the code
> are downloaded on demand as needed by user. It means that some parts
> needn't
> to be downloaded at all (the test page (#Test), help, reports, etc.). This
> change should shorten the loading time especially for users with slow
> connection and for mobile devices.
>
> I haven't seen any negative impact yet, the dev mode keeps working with
> code
> splitting. If you have any concerns, please respond to this email. It is
> not
> merged to master branch yet.
>
>
> [1]:
>
https://developers.google.com/web-toolkit/doc/latest/DevGuideCodeSplitting
> [2]:
>
https://github.com/rhq-project/rhq-core/blob/master/modules/enterprise/gu...
> _______________________________________________
> rhq-devel mailing list
> rhq-devel(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
>
_______________________________________________
rhq-devel mailing list
rhq-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-devel