Tuesday, July 15, 2014

Re: The First-Time loading issue of a deployed GWT app?

Thank you very much Thomas, so putting the that js <script>..</script> inside the <body> will NOT cause any later problems right?

But can we have a more professional way to solve the problem? Can we use Code Splitting in the EntryPoint method?

On Wednesday, July 16, 2014 2:10:48 AM UTC+10, Thomas Broyer wrote:


On Tuesday, July 15, 2014 6:05:13 PM UTC+2, Tom wrote:
Someone told me to put the "<script type="text/javascript" language="javascript" src="myproject.nocache.js"></script>" inside the <body> tag rather than inside the <head> tag.

After doing that it seem that it had loaded the "loading" indicator right at the beginning before loaded the .nocache.js 

But I am not sure if i put the that js <script>..</script> inside the <body>, then will that cause any later problem?

No. 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment