Hi, As for speeding up the loading time, please refer to a new feature called autoloading of the jsapi loader that is used for the library. This has a significant impact on loading time, in most cases, with a low price of code complexity. Find details at http://code.google.com/apis/ajax/documentation/#AutoLoading
As for obfuscation of your own generated js code - There are some javascript "compilers" that do exactly this. Google for this, and you will find them. Since your code is generated, using short names for vars and functions will have a big impact of your code size. Regards, VizGuy On Mon, May 4, 2009 at 4:22 PM, [email protected] < [email protected]> wrote: > > Hi, > > I have two problems. I have a page which holds basically all types of > available Google visualizations. Therefore it has to import the jsapi > lib, all visualization libs and the map-key. This takes ages on a slow > computer. > > > 1. Can one somehow speed up loading of this Javascript - especially if > one needs basically all visualization libs? > > 2. I dynamically generate more Javascript on my server with Python. > Can I somehow obfuscate/shrink this Javascript from Python to improve > page loading times? > > thx.ricky. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" 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-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
