If you have just a simple html page that just loads the GWT app and
maybe a spinning "Loading" gif, then it makes no difference.  That
page is more about when you have a regular html page that happens to
also load a script, that you want the script at the bottom so all the
other content - images etc - will load first and be visible to the
user, before loading the script.

On Apr 13, 8:59 am, Óscar Frías <ofr...@gmail.com> wrote:
> But this document suggests putting scripts at the bottom of the HTML
> to improve page download 
> speed:http://developer.yahoo.com/performance/rules.html#js_bottom
>
> Is this true also for GWT script ?
>
> Thanks,
> Oscar
>
> On Apr 13, 3:34 pm, redlaber <vyalov.e...@gmail.com> wrote:
>
> > It makes no difference. The html-code generate the page almost
> > instantly. GWT metod RootPanel.get("id") also work very quickly.
> > Almost all time of page generation will take the loading of gwt-
> > module. So place your gwt-application where it is more convenient to
> > you.
>
> > On 13 апр, 13:51, Óscar Frías <ofr...@gmail.com> wrote:
>
> > > Which is the best place to put the gwt script in the HTML page from a
> > > performance point of view (page speed) ?
> > > I mean to minimize the load time of a page that contains some HTML
> > > code in addition to the GWT module.
>
> > > Is it better to put it at the end of the head section (immediately
> > > before the </head> tag, or immediately before the analytics code) ?
> > > Or would it be faster to put it at the end of the html (immediately
> > > before the </html> tag) ?
>
> > > Thanks!
> > > Oscar

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

Reply via email to