Tuesday, October 22, 2013

Re: Prefetching GWT modules

This should only happen on the first visit to the page, but subsequently, your gwt scripts should be cached so there's no need to download anything but the nocache script. Search about servlet filters and see how you can enforce all "cache"-named items to be cached so that they only get downloaded once per client. 

On Thursday, October 10, 2013 11:20:34 AM UTC-4, aswath wrote:
Hello,
I have several GWT modules (15 -20), some big, some small modules. They get included in a different JSP files.  
First time, the jsp file is accessed, the GWT module is loaded and hence the page rendering is slow.  The user is exploring different parts of the application by clicking on different links, and different 
GWT module getting downloaded for each new link, the user experience is bad.
So, I want to prefetch most of my modules in one of the JSP by giving 'Initializing, please wait..." message and then downloading most of the modules.
Please let me know, if there are any examples on prefetching or making the user experience more pleseant.

-Aswath

--
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/groups/opt_out.

No comments:

Post a Comment