ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Google AJAX API (was: CodeIgniter AJAX With jQuery)

May 28, 2008 6:00am

Subscribe [5]
  • #16 / May 29, 2008 12:50pm

    Arun S.

    792 posts

    All that isn’t working for me is the API google.load part. I can get a direct file to load with no problems but I’m pretty sure that I read on their (Google) site that if you do this then you don’t get the benefit of the zipped and minified code-bases?

    Hmm…you can link directly to the minified version.  Just link to

    <a href="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js">http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js</a>

    Use whatever version number you want.  Currently only 1.2.3 and 1.2.6 are hosted at Google.  More information here.

    As Ingmar has posted, there is no difference between using google.load() and linking directly.

  • #17 / May 29, 2008 12:56pm

    Mark Bowen

    12637 posts

    Hiya,

    I’m pretty certain that I read on the Google site that if you use the direct link method then you don’t get all the added bells and whistles such as GZipped files (if the browser supports it) and also the minified scripts?

    Best wishes,

    Mark

  • #18 / May 29, 2008 9:53pm

    trif3cta

    148 posts

    Each library is available via both google.load(), and directly via tag. The google.load() approach offers the most functionality and performance. In the sections that follow, we document all of the libraries that are available. For each library we list it’s name (as in the name used in google.load(), all of the versions that we have on hand for the library, etc.

    Source: http://code.google.com/apis/ajaxlibs/documentation/

    They don’t really elaborate as to why.

  • #19 / May 30, 2008 2:16am

    Crssp-ee

    572 posts

    Hey hey, time to join another users group.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases