It really depends on what you're trying to build. Are you doing an
entire web application? Is this progressive enhancement?

If you're building a full web app, you should be gziping your contents
before sending them down to the user. You can also use Code Splitting:
http://code.google.com/webtoolkit/doc/latest/DevGuideCodeSplitting.html
to get a smaller initial payload.

If you're doing progressive enhancement on a regular webpage, look
into gwtquery: http://code.google.com/p/gwtquery/. It doesn't
implement the Java collections API and has some other size reducing
enhancements.

--
Arthur Kalmenson



On Wed, Aug 4, 2010 at 4:24 PM, powwow <[email protected]> wrote:
> When I compile GWT it generates files. The total file size for my
> compiled project is 222KB.  How do I make this smaller?  Are there any
> files I don't need?
>
> For example, there is a "hosted.html" that is created.  Can I delete
> that?
>
> Also the only module I am using is  <inherits
> name='com.google.gwt.user.User'/>
>
> So I can't get rid of any other modules.
>
> I need the compilation to be as small as possible!
>
> Thx.
>
> --
> 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.
>
>

-- 
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