Google Ajax Library


For a Joomla user, Joomla import mootools.js automatically. Mootools.js is more than 70KB, If we host the mootools.js in Google, then how much bandwidth it will save?
For example, it will replace
"/media/system/js/mootools.js"
with
"http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js"
or
"http://ajax.googleapis.com/ajax/libs/mootools/1.21/mootools-yui-compressed.js"
It depends the version you have set. The mootools version must host on Google's Ajax libraries.
The Joomla Plugin Google Ajax Library will automatically replace your local ajax libraries with Google's AJAX libraries.
Support Ajax libraries:
1. Mootools
2. Prototype
3. JQuery
4. YUI
5. SWFObject
Benefits of the using Joomla Plugin: GoogleAjaxLib
* Save bandwidth.
* Speed up your site's response.
* Service more online users.
V1.1 Use system plugin to give a big short replace.
V1.2 AddSWFObject
V1.3 Add a version for Joomla1.6.x
V1.4 Add a version for Joomla1.7.x
V1.5
1. Add an option to use Google AJAX Libraries for Joomla Administrator
2.Update the version of the libraries.
3.Remove JUI
This is a great plugin and it would be better if you allow to change also de mootools-more.js file.
I know that this file it is not hosted on google libraries, but maybe you can put a free field to introduce the url where the user hosted that file.
in this way you will decrease the traffic generated by your web that sometimes is a problem with the hosting companies.
Great job again!
The possibility to host scripts and fonts remotely must be a part of J!-core!
Is it possible for the plugin to detect the version of MooTools required by the core Joomla and set the version directly, rather than having to manually set it. If the plugin could do this then I would give it 5 stars. Still a good plugin though! Thanks.
I noticed this plugin uses mootools 1.4.1, but the one in joomla2.5.1 is version 1.4.3.
Pingdom results:
before: 265.7kB
after: 261.7kB
I hope, one day, there will be solution for mootools-more.js, because that script is huge.
Kind regards
Dan
Google Ajax libraries doesn't provider Mootools 1.4.3 yet, it only provider 1.4.1 currently.
One of the big wins with a Google Ajax lib is improved caching. More and more sites are using Google Ajax lib, so a lot of users local browser usually have cached Mootools already, there is no need to download the libraries even if the user visit your site on the first time.
All buttons in Admin Template don't work :-(
Have confirmed problem on multiple servers running different RocketTheme templates.
PS: Same problem happens with alternate Joomla! v1.5 plugin [System - JavaScript API Integrator] from www.joomla.net-style.com
Note: Haven't tested this plugin on any non RocketTheme or Joomla! default templates!
In the version 1.5, I have added an option not to use AJAX Libraries from Google for Joomla Administrator.
Reduces pages load time for a smoother user experience, and a better pagespeed score. I tried to hardcode the Google library into my site, with very limited success: this mod does a better job by far.
I have found that things work better with 1.2.5 but modal box stops working (amongst other thing probably)
What I really cannot fathom is how the Joomla team could decide to utilise a 118kb javascript library for their product when the OLD version at 74kb was complained about for being too big.
You should not be making the entire system rely on a single library if you are going to insist that it has to be mootools +more and not just core.
Along with all the news about J1.6 not really being sympathetic to migrations and the like I am left wondering what has happened to the easy to use, friendly CMS that was once Joomla!
The plugin for J1.6 is coming.
However, Google doesn't host mootools more library.
Please make sure the order of Google Ajax Library is before cache.
Didn't notice any problem with any extensions on the backend or so far as I am aware the front end. If there was a problem with K2 in the past as another reviewer mentioned it has gone now.
Thanks for the excellent work. Makes me proud to be part of the Joomla community.
Just install and activate the plugin, edit the settings, and it will automatically replace the code to load your common js libraries with ones hosted by Google. Brilliant.

