On Sun, Dec 27, 2009 at 21:27, moejo <[email protected]> wrote:
> Hi Joe
>
> Thanks for the info, I'll see what effect upgrading to GWT 2.0 has - I
> hadn't heard of the SYOC feature, so that definitely might come in
> handy.  Only thing is though, we're very close to go-live so I'm a
> little hesitant to upgrade at this time, in case there turns out to be
> compatibility issues among other things.
>
> Yeah I've got the flag for obfuscated on for the compiler (even though
> i know it's by default).
>
>
> On Dec 27, 3:21 pm, Qian Qiao <[email protected]> wrote:
>> On Sun, Dec 27, 2009 at 21:13, moejo <[email protected]> wrote:
>> > Hi,
>>
>> > My team has been developing an application in GWT and we are
>> > constantly having issues with the size of the GWT cache.html file.
>> > Our current file size is at 3.3 MB which is huge!
>>
>> > Compared to some of the file sizes I've seen in the forums (50kb,
>> > 500kb, etc), I'm wondering if maybe there is something we've missed
>> > completely which has resulted in bad performance.  Can anyone assist
>> > in this?
>>
>> > I've already read the forums and i know we can reduce the size of the
>> > file to around 500kb using gunzip, however, I feel this should be used
>> > as a final fix.  What I'm trying to find is the source of the huge
>> > size in the first place so as to avoid it in future.
>>
>> > Has anyone had a huge file like this before, any suggestions?
>>
>> > FYI - we are using GWT 1.7, compiling for all browsers and are using
>> > SmartGWT (solely for the calendar component).  I've removed SmartGWT
>> > to test and retried it, we still ended up with the same file size.
>>
>> > Any help would be appreciated.
>>
>> You might consider to upgrade to GWT 2.0 to take advantage of the
>> guided code split feature, it might not reduce the size of you code,
>> in fact it'll probably make the total size larger, but the user won't
>> have to download your application all at once, so they'll enjoy a much
>> faster start up time. Also, with GWT2.0's SYOC feature, you'll see
>> exact what makes up of your 3.3MB, so you can work on them
>> accordingly.
>>
>> Also, this might be trivial, but I thought I might also ask, are you
>> using obfuscated mode?
>>
>> -- Joe
>>

I hadn't got much trouble upgrading to GWT 2.0 myself, but then again,
I can't speak for everybody. One strategy you might consider is: still
use GWT 1.7 when you release, but just compile with 2.0 during testing
to see what the heavy-weight components are, and try to optimize
those.

Personally, I think you should consider 2.0, not only the SOYC
feature, the new development also makes developing and testing much
easier.

-- Joe

-- 
Two things that are infinite, the universe and my stupidity, and I'm
not sure about the universe.
Sent from Los Altos, CA, United States

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to