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
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.
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.
Thanks for making our life easy.
Regards
Syed
There's a minor issue for me where I can't find a compatible mootools version that doesn't pooch the administrator area.
Editors don't load and any javascript enabled items fail entirely - including menus. I currently need to have it off while I'm editing in the backend.
There's an option to toggle the sidebar on or off when adding new items in K2.
That toggle function doesn't work if you use Mootools from Google. I tried with Mootools 1.1.1 and 1.1.2.
That said I don't believe that's a bug specific to this addon. Just be aware if you use this and K2 you might not be able to toggle said sidebar.





