That is because many Google API's, e.g., language API require the JS API to load them.
See the helloworld example on http://code.google.com/apis/ajaxlanguage/documentation/#HelloWorld which uses google.load() to load the javascript. On Sep 20, 3:36 pm, Jeremy Geerdes <[email protected]> wrote: > If you're not using the ClientLocation feature, is there any reason > that you NEED to have the jsapi loaded? You can call individual > components of the APIs directly from Google's servers using your own > <script> tags. > > Jeremy R. Geerdes > Effective website design & development > Des Moines, IA > > For more information or a project > quote:http://jgeerdes.home.mchsi.comhttp://jgeerdes.blogspot.comhttp://jgeerdes.wordpress.com > [email protected] > > Unless otherwise noted, any price quotes contained within this > communication are given in US dollars. > > If you're in the Des Moines, IA, area, check out Debra Heights > Wesleyan Church! > > And check out my blog, Adventures in Web Development, > athttp://jgeerdes.blogspot.com > ! > > On Sep 20, 2009, at 1:18 PM, n.b wrote: > > > > > Hi, > > > For use of Google's JS apis, we need to include the script > >http://www.google.com/jsapiin HTML pages. The problem is: > > - Load of jsapi added 500-900ms per load (this is very slow) > > - The script for no reason adds "no-cache, no-store, max-age=0, > > must-revalidate" with no option to turn on caching (we don't use any > > client location or other specific features) > > > I wish to know if there is any alternative to this. We are thinking of > > keeping a local static copy ofhttp://www.google.com/jsapion our > > local web server (updated every 15 mins). Clients will be served the > > script file from our web server instead of the Google's servers. > > > I wish to know if the jsapi has any issues with such a mechanism, > > either technical or legal. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" 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-ajax-search-api?hl=en -~----------~----~----~----~------~----~------~--~---
