Re: Best (faster) place to include gwt script in html ?

2010-04-13 Thread kozura
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 et

Re: Best (faster) place to include gwt script in html ?

2010-04-13 Thread Óscar Frías
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 wrote: > It makes no difference. The html-code generate

Re: Best (faster) place to include gwt script in html ?

2010-04-13 Thread redlaber
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

Best (faster) place to include gwt script in html ?

2010-04-13 Thread Óscar Frías
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 tag,