Recent Topics

JS optimisation using Google's JavaScript API Loader

Started by on Jan 28, 2010 – Contents updated: Jan 28, 2010

Jan 28, 2010 22:08    

Hello,

It could be great if we have an option in administration panel to use Google's JavaScript API Loader.
I mean instead of loading http://yourdomain/blog/rsc/jsquery.min.js
we could use JS stored on Google CDN:

Exemple:

Code

<script src="http://www.google.com/jsapi" language="javascript"></script>
<script language="javascript">
google.load("jquery", "1.3.2");
google.load("prototype", "1.4.0");
</script>

or directly by putting the URL:
http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js

Mar 21, 2010 19:55

i believe that could be easily done with a plugin..

but i dont think you should depend on google.. having js files on your webserver is always the best way..

its not google like ever going bankrupt, but sometimes you'd be surprised how slowly google hosted js' load


Form is loading...

b2evo – This forum is powered by b2evolution CMS, a complete engine for your website.