On Sun, Dec 6, 2009 at 17:28, balachandra maddina <chandu2...@gmail.com> wrote: > Hi There, > If im using the runAsync to load a particular script based on a click then > every time i click the script is getting downloaded freshly and getting > loaded. is there a way to manage this behavior like to check if > that particular object is loaded or not? > i thought of using a hashmap to keep the objects that are loaded through > the runAsync call, but that doesnt seems a good idea as the map will be > holding all the script that is loaded through all runAsync calls and get > heavy. is there a better way to manage the script loaded through > the runAsync call? > Your help is appreciated. > Thank you, > bala. >
The downloaded script is cached. So it requires nothing special in your code. HTH. -- Joe -- Two things that are infinite, the universe and my stupidity, and I'm not sure about the universe. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.