Tuesday, December 6, 2011

Code Split / Prefetching Mechanics

Hi,

I am wondering how the prefetching described in
http://code.google.com/intl/de-DE/webtoolkit/doc/latest/DevGuideCodeSplitting.html
works exactly.

Will the code always be loaded when a runAsync call is performed or
just the 1st time the method is invoked?

In my opinion it makes only sense if the code is just loaded once.
Otherwise I don't really see a benefit in using the code split/
prefetching.

If it is just loaded only once. How much is the overhead in calling
the runAsync method (when the code is already loaded)?

Thanks for your help
Regards

Watnuss

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment