Hi George, Thanks for the great tip.
2012/3/25 George Georgovassilis <[email protected]> > Hello all, > > A while ago we had to work on a GWT application with the requirement that > the initial page should be visible in under 1 sec, but since it was a > single module, multi form application this requirement would hold for all > forms. We initially solved this by having all form markup in the initial > page HTML, showing and hiding forms with CSS according to the current > history token. But this created a second problem when a history token was > included in the initial URL: the browser would first load the HTML showing > the initial form and only switch to the correct form once the javascript > was loaded. We then solved this "flash of content" with a short inline > javascript that would parse the history token and globally modify CSS so > that the right form would show up even before the corresponding HTML was > loaded. If you are interested you can read the details here [1] > > [1] > http://georgovassilis.blogspot.com/2012/03/speeding-up-initial-page-view-of-ajax.html > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-web-toolkit/-/lfRRx2IiTjEJ. > 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. > -- Ahmet BÜTÜN -------------------------------------- http://www.ahmetbutun.net http://blog.ahmetbutun.net -- 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.
