[wp-hackers] Slim WordPress by way of Google Ajax API?

Matt Patenaude MattPat at mattpat.net
Tue May 27 20:22:57 GMT 2008


It does sound like a great idea.

But how would this affect loading time? The browser has to go to  
another domain to grab the Ajax API  JS file, and then has to make  
another round-trip to load the JS library?

A simplified API is great, but does it have to be remotely hosted?  
What if, for instance, WordPress had its own JavaScript API-- you  
could put the code for each JS library in the database, and then the  
first time the file was requested, it could create a text-based cache  
of the file with the appropriate settings. Then, if the version of the  
code in the DB was updated, it could automatically replace the cached  
file.

Not trying to go off-topic here, but just saying. I like the premise,  
but the fact that it's remotely hosted worries me (even if it is  
Google).

-Matt

On May 27, 2008, at 4:16 PM, Ronald Heft wrote:

> Sounds like a great idea. I'm down for using the AJAX API to serve
> WordPress' Javascript.
>
> On Tue, May 27, 2008 at 3:32 PM, Doug Stewart <zamoose at gmail.com>  
> wrote:
>
>> I hope y'all saw this and thought "Hmm, a chance to strip JS  
>> libraries
>> entirely out of the equation":
>>
>> http://code.google.com/apis/ajaxlibs/
>>
>> Thoughts?  Applicability to core WP?  I see a good deal of utility
>> there, meself...
>>
>> --
>> -Doug
>> http://literalbarrage.org/blog/
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>
>
> -- 
> Ronald Heft, Jr.
> Information Sciences and Technology
> Pennsylvania State University
>
> cavemonkey50.com
> 9rules Network
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list