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

-- 
Two things that are infinite, the universe and my stupidity, and I'm
not sure about the universe.

--

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